snap-stanford / neural-subgraph-learning-GNN

343 stars 66 forks source link

ModuleNotFoundError: No module named 'encoder' #1

Closed prey176 closed 4 years ago

prey176 commented 4 years ago

We were running the test file in the subgraph_matching folder (as given in the README) with the command "python3 -m subgraph_matching.test --node_anchored". And received the error "ModuleNotFoundError: No module named 'encoder'" on the line 128. I believe the encoder file is not uploaded.

prey176 commented 4 years ago

Error got resolved. Change the line 128 "from encoder.train import main" to "from subgraph_matching.train import main". It will work.

qema commented 4 years ago

Thanks for the catch -- fixed in the repo.