You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/lib/python3.6/site-packages/torch/serialization.py", line 556, in _load
return legacy_load(f)
File "/opt/conda/lib/python3.6/site-packages/torch/serialization.py", line 467, in legacy_load
with closing(tarfile.open(fileobj=f, mode='r:', format=tarfile.PAX_FORMAT)) as tar,
File "/opt/conda/lib/python3.6/tarfile.py", line 1589, in open
return func(name, filemode, fileobj, **kwargs)
File "/opt/conda/lib/python3.6/tarfile.py", line 1619, in taropen
return cls(name, mode, fileobj, **kwargs)
File "/opt/conda/lib/python3.6/tarfile.py", line 1482, in init
self.firstmember = self.next()
File "/opt/conda/lib/python3.6/tarfile.py", line 2315, in next
raise ReadError(str(e))
tarfile.ReadError: truncated header
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train.py", line 29, in
main(arg)
File "train.py", line 23, in main
train_model(dataset_param, model_param, general_param)
File "/workspace/main/train.py", line 62, in train_model
train_dataset = param2dataset(dataset_param, train_flag=True)
File "/workspace/main/parameters.py", line 68, in param2dataset
return globals()[param.dataset_name+'Dataset'](train_flag=train_flag, **other_param)
File "/workspace/dataset/base.py", line 29, in init
pre_transform=None, pre_filter=pre_filter)
File "/opt/conda/lib/python3.6/site-packages/torch_geometric/data/dataset.py", line 88, in init
if osp.exists(path) and torch.load(path) != repr(pre_transform):
File "/opt/conda/lib/python3.6/site-packages/torch/serialization.py", line 387, in load
return _load(f, map_location, pickle_module, **pickle_load_args)
File "/opt/conda/lib/python3.6/site-packages/torch/serialization.py", line 560, in _load
raise RuntimeError("{} is a zip archive (did you mean to use torch.jit.load()?)".format(f.name))
RuntimeError: /workspace/dataset/FAKEDataset/processed/pre_transform.pt is a zip archive (did you mean to use torch.jit.load()?)
root@d21db24d6e17:/workspace# ls
It must be something wrong, can you help me? Thank you for your attention!
The text was updated successfully, but these errors were encountered:
Hi, thanks for your interest in our work! However, I will be quite busy with the application in the next few days and may not have enough time to check the details.
I have briefly gone through your error messages and it seems that there is something wrong with the datasets, which should be quite stable in my experiments. So, a quick check is to do rm -r dataset/FAKEDataset, then mkdir dataset/FAKEDataset and finally run the corresponding training commands. If the error still exists, could you please help provide a method to reproduce the error as well as your system's details? I will check them as soon as possible (maybe after Dec. 16th). Thanks!
I'm pretty interested in your work, but I met with some problems when running your code.
I pull docker haotang95/itergnn:main and run cmd in docker
python train.py lobster-unweighted DecIterGNN30-HomoPathSimConv-Max
but I get Runtime Error :
It must be something wrong, can you help me? Thank you for your attention!
The text was updated successfully, but these errors were encountered: