MoleculeX icon indicating copy to clipboard operation
MoleculeX copied to clipboard

TypeError: __inc__() takes 3 positional arguments but 4 were given

Open WGDMS opened this issue 2 years ago • 3 comments

Dear team,

Once I execute the run_classification file, I received the following error:

_/usr/local/lib/python3.7/dist-packages/torch_geometric/data/collate.py in (.0) 223 repeats = [ 224 data.inc(key, value, store) --> 225 for value, data, store in zip(values, data_list, stores) 226 ] 227 if isinstance(repeats[0], Tensor):

TypeError: inc() takes 3 positional arguments but 4 were given_

Used the CUDA111. Please help me to solve this. Thank you.

WGDMS avatar Mar 27 '22 02:03 WGDMS

Hi, I'm currently encountering the same issue as you. Could you please tell me how you resolved it? Would it be convenient for you to share your solution?

mahuahuahua avatar Jan 15 '24 03:01 mahuahuahua

@mahuahuahua Have you resolved your issue? I'm encountering the same problem now, and I hope you can help me solve it.

Royzon avatar May 11 '24 14:05 Royzon

@mahuahuahua Have you resolved your issue? I'm encountering the same problem now, and I hope you can help me solve it. Hii, the solution should be that Pytorch, Pytorch Geometric and Pytorch related versions need to correspond to the version given by the blogger, but later I still encountered problems, so I switched to other programs.

mahuahuahua avatar May 16 '24 03:05 mahuahuahua