yunshengb / SimGNN

146 stars 33 forks source link

RuntimeError: Insufficient train graphs 0 #6

Open TTtaosen opened 5 years ago

TTtaosen commented 5 years ago

Hello: I‘m trying to run python3 main.py in ubuntu 17.10. and it 1 Am I need to do something before run python3 main.py?

yunshengb commented 5 years ago

Yes. Please:

Get the datasets from https://drive.google.com/drive/folders/1lY3pqpnUAK0H9Tgjyh7tlMVYy0gYPthC?usp=sharing and extract under data/:

Get the pickle files (/save) from https://drive.google.com/drive/folders/1Eusvi4_iOKM0AsO1LhxQFkY62kDEtuMq?usp=sharing

Get the result files (/result) https://drive.google.com/drive/folders/1UXEGozaThjjuC-hnt4C7jn06L6I2Ra1v?usp=sharing

SaizhuoWang commented 5 years ago

Hi, thanks for the code. I am having the same problem when running main.py under IMDBMulti dataset. The error message looks like this: image I checked the code and found that when Data.init found that there's no pickle find avaliable for loading, it goes to this step: image However, the program then returns to data_siamese.init and executes the following step: image thus making the program err. Can you help me with this? Is there anything wrong in my configurations? I have checked that the files you mentioned above is already in corresponding directories. Or is there anything I should do before running main.py ?

yunshengb commented 5 years ago

Can you delete any existing stuff in save and rerun the program? Thanks!

SaizhuoWang commented 5 years ago

Okay, it worked! Thanks a lot!

kxhit commented 5 years ago

@yunshengb Hi! I meet the same problem! I follow the ReadMe, get the files and unpack them. Could anyone give me some suggestions? Thanks!

simgnn_debug1

yunshengb commented 5 years ago

Pleas try: (1) download the datasets from https://drive.google.com/drive/folders/1lY3pqpnUAK0H9Tgjyh7tlMVYy0gYPthC?usp=sharing and extract under data/; (2) download the pickle files from https://drive.google.com/drive/folders/1Eusvi4_iOKM0AsO1LhxQFkY62kDEtuMq?usp=sharing and extract under save/; (3) download the result files https://drive.google.com/drive/folders/1UXEGozaThjjuC-hnt4C7jn06L6I2Ra1v?usp=sharing and extract under result/. Delete any exiting files under save/. Thanks!