Skip to content

Commit

Permalink
Fixed imports
Browse files Browse the repository at this point in the history
  • Loading branch information
peastman committed Aug 23, 2019
1 parent f62c351 commit 2091afd
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion deepchem/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@
#################### Compatibility imports for renamed TensorGraph models. Remove below with DeepChem 3.0. ####################

from deepchem.models.tensorgraph.models.text_cnn import TextCNNTensorGraph
from deepchem.models.tensorgraph.models.graph_models import WeaveTensorGraph, DTNNTensorGraph, DAGTensorGraph, GraphConvTensorGraph, MPNNTensorGraph
from deepchem.models.graph_models import WeaveTensorGraph, DTNNTensorGraph, DAGTensorGraph, GraphConvTensorGraph, MPNNTensorGraph
2 changes: 1 addition & 1 deletion examples/adme/run_benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import tensorflow as tf
tf.set_random_seed(123)
import deepchem as dc
from deepchem.models.tensorgraph.models.graph_models import GraphConvModel
from deepchem.models.graph_models import GraphConvModel

BATCH_SIZE = 128
# Set to higher values to get better numbers
Expand Down
2 changes: 1 addition & 1 deletion examples/low_data/sider_graph_conv_one_fold.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import numpy as np
import tensorflow as tf
import deepchem as dc
from deepchem.models.tensorgraph.models.graph_models import GraphConvModel
from deepchem.models.graph_models import GraphConvModel

# 4-fold splits
K = 4
Expand Down
2 changes: 1 addition & 1 deletion examples/notebooks/Using_Tensorboard.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"from IPython.display import Image, display\n",
"import deepchem as dc\n",
"from deepchem.molnet import load_tox21\n",
"from deepchem.models.tensorgraph.models.graph_models import GraphConvModel\n",
"from deepchem.models.graph_models import GraphConvModel\n",
"\n",
"# Load Tox21 dataset\n",
"tox21_tasks, tox21_datasets, transformers = load_tox21(featurizer='GraphConv')\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"import numpy as np \n",
"import tensorflow as tf\n",
"import deepchem as dc\n",
"from deepchem.models.tensorgraph.models.graph_models import GraphConvModel"
"from deepchem.models.graph_models import GraphConvModel"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
"import numpy as np \n",
"import tensorflow as tf\n",
"import deepchem as dc\n",
"from deepchem.models.tensorgraph.models.graph_models import GraphConvModel"
"from deepchem.models.graph_models import GraphConvModel"
],
"execution_count": 0,
"outputs": []
Expand Down
2 changes: 1 addition & 1 deletion examples/tox21/tox21_graphcnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
tf.set_random_seed(123)
import deepchem as dc
from deepchem.molnet import load_tox21
from deepchem.models.tensorgraph.models.graph_models import PetroskiSuchModel
from deepchem.models.graph_models import PetroskiSuchModel

model_dir = "/tmp/graph_conv"

Expand Down
2 changes: 1 addition & 1 deletion examples/tox21/tox21_tensorgraph_graph_conv.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
tf.set_random_seed(123)
import deepchem as dc
from deepchem.molnet import load_tox21
from deepchem.models.tensorgraph.models.graph_models import GraphConvModel
from deepchem.models.graph_models import GraphConvModel

model_dir = "/tmp/graph_conv"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"outputs": [],
"source": [
"import deepchem as dc\n",
"from deepchem.models.tensorgraph.models.graph_models import GraphConvModel"
"from deepchem.models.graph_models import GraphConvModel"
]
},
{
Expand Down

0 comments on commit 2091afd

Please sign in to comment.