Replies: 1 comment 3 replies
-
Does it have something to do with versions ? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Traceback (most recent call last):
File "/home/ubuntu/Desktop/project_cons/group_constpdb_to_pdb.py", line 37, in
train_loader, val_loader = Dataset_loader.create_traintestsplit(config,index_df)
File "/home/ubuntu/Desktop/project_cons/data/dataset.py", line 105, in create_traintestsplit
data_dict = collate_and_label_bags(data_dict, graph_type='pairs',label=None, ligand_id=None, exclude_keys=None, keep_dicts=False)
File "/home/ubuntu/Desktop/project_cons/data/utils.py", line 55, in collate_and_label_bags
print(collate(data_list=d1, cls=PairData,follow_batch=['atom_type_1', 'atom_type_2']))
File "/home/ubuntu/anaconda3/envs/origami/lib/python3.9/site-packages/torch_geometric/data/collate.py", line 32, in collate
out = cls(_base_cls=data_list[0].class) # Dynamic inheritance.
TypeError: init() got an unexpected keyword argument '_base_cls'
Does anyone know how to fix this issue ? Any help is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions