rampasek / GraphGPS

Recipe for a General, Powerful, Scalable Graph Transformer
MIT License
643 stars 114 forks source link

Cannot launch experiments for some datasets (PATTERN/CLUSTER/Peptides-func/Peptides-struct) #25

Closed wsjeon closed 1 year ago

wsjeon commented 1 year ago

Hi, thanks for your nice work.

I tried running GraphGPS for all datasets, but I could find out the following errors for the datasets below:

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr2/wjeon/scratch/GraphGPS/main.py", line 142, in loaders = create_loader() File "/opt/conda/lib/python3.10/site-packages/torch_geometric/graphgym/loader.py", line 312, in create_loader dataset = create_dataset() File "/opt/conda/lib/python3.10/site-packages/torch_geometric/graphgym/loader.py", line 243, in create_dataset dataset = load_dataset() File "/opt/conda/lib/python3.10/site-packages/torch_geometric/graphgym/loader.py", line 188, in load_dataset dataset = func(format, name, dataset_dir) File "/local/mnt/workspace/scratch/wjeon/GraphGPS/graphgps/loader/master_loader.py", line 160, in load_dataset_master dataset = preformat_Peptides(dataset_dir, name) File "/local/mnt/workspace/scratch/wjeon/GraphGPS/graphgps/loader/master_loader.py", line 522, in preformat_Peptides dataset = PeptidesFunctionalDataset(dataset_dir) File "/local/mnt/workspace/scratch/wjeon/GraphGPS/graphgps/loader/dataset/peptides_functional.py", line 56, in init super().init(self.folder, transform, pre_transform) File "/opt/conda/lib/python3.10/site-packages/torch_geometric/data/in_memory_dataset.py", line 55, in init super().init(root, transform, pre_transform, pre_filter, log) File "/opt/conda/lib/python3.10/site-packages/torch_geometric/data/dataset.py", line 91, in init self._download() File "/opt/conda/lib/python3.10/site-packages/torch_geometric/data/dataset.py", line 185, in _download self.download() File "/local/mnt/workspace/scratch/wjeon/GraphGPS/graphgps/loader/dataset/peptides_functional.py", line 75, in download if decide_download(self.url): File "/opt/conda/lib/python3.10/site-packages/ogb/utils/url.py", line 12, in decide_download d = ur.urlopen(url) File "/opt/conda/lib/python3.10/urllib/request.py", line 216, in urlopen return opener.open(url, data, timeout) File "/opt/conda/lib/python3.10/urllib/request.py", line 519, in open response = self._open(req, data) File "/opt/conda/lib/python3.10/urllib/request.py", line 536, in _open result = self._call_chain(self.handle_open, protocol, protocol + File "/opt/conda/lib/python3.10/urllib/request.py", line 496, in _call_chain result = func(*args) File "/opt/conda/lib/python3.10/urllib/request.py", line 1391, in https_open return self.do_open(http.client.HTTPSConnection, req, File "/opt/conda/lib/python3.10/urllib/request.py", line 1351, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:997)>



May I ask how we can launch the code for those datasets?

Thanks!
wsjeon commented 1 year ago

For peptides-func and peptides-struct, I could resolve issues by following this link.

rampasek commented 1 year ago

Hi! Thanks for reporting the issue! It was indeed a bug from accumulated edits to preformat_GNNBenchmarkDataset() function, it is now fixed by PR #26 Please let me know if there are still any other issues!

wsjeon commented 1 year ago

Thanks for resolving and closing this issue! Everything works well on my end 👍