diningphil / gnn-comparison

Official Repository of "A Fair Comparison of Graph Neural Networks for Graph Classification", ICLR 2020
GNU General Public License v3.0
385 stars 54 forks source link

error message #29

Closed cxw-droid closed 1 year ago

cxw-droid commented 2 years ago

Thank you for sharing the code. I found an error when I tried to preprocess the data.

Traceback (most recent call last): File "PrepareDatasets.py", line 73, in preprocess_dataset(dataset_name, args_dict) File "PrepareDatasets.py", line 60, in preprocess_dataset dataset_class(**args_dict) File "/home/xxx/code/gnn-comparison/datasets/manager.py", line 75, in init self.processed_dir / f"{self.name}.pt")) File "/home/xxx/miniconda3/envs/torch1.4.0/lib/python3.7/site-packages/torch/serialization.py", line 527, in load with _open_zipfile_reader(f) as opened_zipfile: File "/home/xxx/miniconda3/envs/torch1.4.0/lib/python3.7/site-packages/torch/serialization.py", line 224, in init super(_open_zipfile_reader, self).init(torch._C.PyTorchFileReader(name_or_buffer)) AttributeError: 'PosixPath' object has no attribute 'tell'

I installed torch 1.4.0 etc. following the instructions. Can you please take a look at this issue? Thanks.

diningphil commented 1 year ago

Sorry if I did not answer in time. I hope you solved the issue, if not feel free to reopen it! F.