Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: torch_geometric.data.data.Data() got multiple values for keyword argument 'pos' #3668

Open
sk000007 opened this issue Nov 9, 2023 · 1 comment

Comments

@sk000007
Copy link

sk000007 commented Nov 9, 2023

馃悰 Bug

To Reproduce

Steps to reproduce the behavior:

  1. import deepchem as dc
  2. featurizer = dc.feat.MolGraphConvFeaturizer(use_edges=True)
  3. f=featurizer.featurize('Clc1ccccc1C(c1ccccc1)(c1ccccc1)n1ccnc1')
  4. print(f[0].to_pyg_graph())

Expected behavior

expected to return a pyg graph

Environment

  • OS: windows 10
  • Python version: 3.9
  • DeepChem version: 2.71
  • RDKit version (optional):
  • TensorFlow version (optional):
  • PyTorch version (optional):
  • Any other relevant information:

Additional context

  1. just installed deepchem using pip
  2. There are few other tickets with the same problem and FIX seem to have been pulled and merged...but doesnt seem to have reflected in pypi perhaps..
@shreyasvinaya
Copy link
Member

shreyasvinaya commented Dec 13, 2023

Hey @sk000007 have you installed the nightly version of deepchem?
you can do so using pip install --pre -U deepchem
the bug seems to be fixed now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants