Hello,
Thanks for the work and clean repo. I wanted to use your processed data for the EC task, with my own models. I untared raw and processed surface2backbone. However, there seems to be a missing class in the data/base.py. Indeed, when I try to load the data using the following code :
if __name__ == '__main__':
raw_dir = os.path.abspath(f"../../data/enzyme/")
processed_dir = os.path.abspath(f"../../data/")
train_dataset = EnzymeDataset(mode='train', raw_dir=raw_dir,
processed_dir=processed_dir,
add_targets=True,
prot_mode='surface2backbone')
item = train_dataset[0]
I get the following error :
Traceback (most recent call last):
File "/home/vmallet/anaconda3/envs/atom2d/lib/python3.8/site-packages/torch/serialization.py", line 789, in load
return _load(opened_zipfile, map_location, pickle_module, **pickle_load_args)
File "/home/vmallet/anaconda3/envs/atom2d/lib/python3.8/site-packages/torch/serialization.py", line 1131, in _load
result = unpickler.load()
File "/home/vmallet/anaconda3/envs/atom2d/lib/python3.8/site-packages/torch/serialization.py", line 1124, in find_class
return super().find_class(mod_name, name)
AttributeError: Can't get attribute 'BackboneData' on <module 'holoprot.data.base' from '/home/vmallet/projects/atom2d/atom2d/holoprot/data/base.py'>
Do you think this class definition could be missing ? Also, am I using the right loading ? I am trying to retrieve the meshes, residue graphs and node/vertices features that you used for training.
Thanks a ton in advance for your help !
Best,
Vincent
Hello,
Thanks for the work and clean repo. I wanted to use your processed data for the EC task, with my own models. I untared raw and processed surface2backbone. However, there seems to be a missing class in the data/base.py. Indeed, when I try to load the data using the following code :
I get the following error :
Do you think this class definition could be missing ? Also, am I using the right loading ? I am trying to retrieve the meshes, residue graphs and node/vertices features that you used for training.
Thanks a ton in advance for your help !
Best,
Vincent