GraphCL_Automated icon indicating copy to clipboard operation
GraphCL_Automated copied to clipboard

error when running semisupervised_OGB

Open jet955 opened this issue 1 year ago • 1 comments

Hello,

Thank you for this awesome work! I tried to run the pretraining code in the semisupervised setting by running this command (python main_pretrain_graphcl_joao.py --gamma 0.01 --dataset ogbg-molchembl) and it gave this error:

"FileNotFoundError: [Errno 2] No such file or directory: 'dataset/ogbg_molchembl/mapping/typeidx2type.csv.gz'"

I checked my dataset/ogbg_molchembl/mapping directory and it only contains the "mol.csv.gz" file but not typeidx2type.csv.gz and attridx2attr.csv.gz files. Could you please let me know how I can get these two files?

jet955 avatar Nov 14 '23 18:11 jet955

Hi,

I suspect this results from the inconsistency of the OGB version, which was 1.2.4 (https://github.com/Shen-Lab/GraphCL_Automated#dependencies). It should execute the dataset downloading, as I glance their repo https://github.com/search?q=repo%3Asnap-stanford%2Fogb%20typeidx2type.csv.gz&type=code.

Would you might also open an issue in OGB, if there is still problems?

yyou1996 avatar Feb 02 '24 14:02 yyou1996