mirror of
https://github.com/google-deepmind/deepmind-research.git
synced 2026-05-27 10:15:44 +08:00
Import TensorFlow without compat mode as our code targets TF 1.14.
PiperOrigin-RevId: 298822315
This commit is contained in:
committed by
Diego de Las Casas
parent
985ca4dce7
commit
a5efafff3a
@@ -24,7 +24,7 @@ from absl import logging
|
|||||||
import numpy as np
|
import numpy as np
|
||||||
import six
|
import six
|
||||||
import sonnet as snt
|
import sonnet as snt
|
||||||
import tensorflow.compat.v1 as tf # pylint: disable=g-explicit-tensorflow-version-import
|
import tensorflow as tf # pylint: disable=g-explicit-tensorflow-version-import
|
||||||
|
|
||||||
from alphafold_casp13 import config_dict
|
from alphafold_casp13 import config_dict
|
||||||
from alphafold_casp13 import contacts_experiment
|
from alphafold_casp13 import contacts_experiment
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ import collections
|
|||||||
import enum
|
import enum
|
||||||
import json
|
import json
|
||||||
|
|
||||||
import tensorflow.compat.v1 as tf # pylint: disable=g-explicit-tensorflow-version-import
|
import tensorflow as tf # pylint: disable=g-explicit-tensorflow-version-import
|
||||||
|
|
||||||
|
|
||||||
_ProteinDescription = collections.namedtuple(
|
_ProteinDescription = collections.namedtuple(
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
"""Contact prediction convnet experiment example."""
|
"""Contact prediction convnet experiment example."""
|
||||||
|
|
||||||
from absl import logging
|
from absl import logging
|
||||||
import tensorflow.compat.v1 as tf # pylint: disable=g-explicit-tensorflow-version-import
|
import tensorflow as tf # pylint: disable=g-explicit-tensorflow-version-import
|
||||||
|
|
||||||
from alphafold_casp13 import contacts_dataset
|
from alphafold_casp13 import contacts_dataset
|
||||||
from alphafold_casp13 import contacts_network
|
from alphafold_casp13 import contacts_network
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ import os
|
|||||||
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import six.moves.cPickle as pickle
|
import six.moves.cPickle as pickle
|
||||||
import tensorflow.compat.v1 as tf # pylint: disable=g-explicit-tensorflow-version-import
|
import tensorflow as tf # pylint: disable=g-explicit-tensorflow-version-import
|
||||||
|
|
||||||
|
|
||||||
RR_FORMAT = """PFRMAT RR
|
RR_FORMAT = """PFRMAT RR
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ import os
|
|||||||
from absl import app
|
from absl import app
|
||||||
from absl import flags
|
from absl import flags
|
||||||
from absl import logging
|
from absl import logging
|
||||||
import tensorflow.compat.v1 as tf # pylint: disable=g-explicit-tensorflow-version-import
|
import tensorflow as tf # pylint: disable=g-explicit-tensorflow-version-import
|
||||||
|
|
||||||
from alphafold_casp13 import distogram_io
|
from alphafold_casp13 import distogram_io
|
||||||
from alphafold_casp13 import parsers
|
from alphafold_casp13 import parsers
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
import pickle
|
import pickle
|
||||||
|
|
||||||
import tensorflow.compat.v1 as tf # pylint: disable=g-explicit-tensorflow-version-import
|
import tensorflow as tf # pylint: disable=g-explicit-tensorflow-version-import
|
||||||
|
|
||||||
|
|
||||||
def distance_histogram_dict(f):
|
def distance_histogram_dict(f):
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ from absl import flags
|
|||||||
from absl import logging
|
from absl import logging
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import six
|
import six
|
||||||
import tensorflow.compat.v1 as tf # pylint: disable=g-explicit-tensorflow-version-import
|
import tensorflow as tf # pylint: disable=g-explicit-tensorflow-version-import
|
||||||
|
|
||||||
from alphafold_casp13 import distogram_io
|
from alphafold_casp13 import distogram_io
|
||||||
from alphafold_casp13 import parsers
|
from alphafold_casp13 import parsers
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
"""2D Resnet."""
|
"""2D Resnet."""
|
||||||
|
|
||||||
from absl import logging
|
from absl import logging
|
||||||
import tensorflow.compat.v1 as tf # pylint: disable=g-explicit-tensorflow-version-import
|
import tensorflow as tf # pylint: disable=g-explicit-tensorflow-version-import
|
||||||
|
|
||||||
from alphafold_casp13 import two_dim_convnet
|
from alphafold_casp13 import two_dim_convnet
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user