Skip to content

Commit

Permalink
swapping torch code for tutorial (deepchem#4200)
Browse files Browse the repository at this point in the history
  • Loading branch information
manas1245agrawal authored Dec 18, 2024
1 parent 216faf6 commit 7207078
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/tutorials/Introduction_to_Graph_Convolutions.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@
],
"source": [
"n_tasks = len(tasks)\n",
"model = dc.models.GraphConvModel(n_tasks, mode='classification')\n",
"num_features = train_dataset.X[0].get_atom_features().shape[1]\n",
"model = dc.models.torch_models.GraphConvModel(n_tasks, mode='classification',number_input_features=[num_features,64])\n",
"model.fit(train_dataset, nb_epoch=50)"
]
},
Expand Down

0 comments on commit 7207078

Please sign in to comment.