Open bhadreshpsavani opened 2 years ago
Where did you find that code? I see the one here https://torchdrug.ai/docs/tutorials/retrosynthesis.html#prepare-the-dataset but it is different and has no argument lazy at all. Moreover, the code from the link worked fine for me:)
seems like it has already been solved https://github.com/DeepGraphLearning/torchdrug/pull/24
Cool! Actually, i was trying it in colab and thought of using this argument! When we check the arguments like this,
datasets.USPTO50k?
it shows that lazy
as an optional arguments but it was giving error
Hi @DimGorr, It shows this docstring
Init signature: datasets.USPTO50k(*args, **kwargs)
Docstring:
USPTO50k(path, as_synthon=False, verbose=1, transform=None, lazy=False, atom_feature='default', bond_feature='default', mol_feature=None, with_hydrogen=False, kekulize=False)
Hi! The lazy operation isn't implemented for USPTO50k. The docstring is automatically generated due to its inheritance from data.MoleculeDataset
.
will give below error