cgoliver / RNAmigos

GCN implementation for RNA-small molecule binding prediction. (https://academic.oup.com/nar/article/48/14/7690/5870337)
http://rnamigos.cs.mcgill.ca
16 stars 7 forks source link

ModuleNotFoundError: No module named 'tools' #1

Closed Yuhan-Fei closed 3 years ago

Yuhan-Fei commented 3 years ago

When I try to load a trained model using “from tools.learning_utils import load_model” according to the tutorial, the command-line always told me “ModuleNotFoundError: No module named 'tools'”. Could you do me a favor to solve this problem?Thanks.

cgoliver commented 3 years ago

Hey Yuhan! Sorry for the delay!

Thanks for pointing out the issue. Indeed, there were some missing files in the repo.

The inference on a single graph needs a bit of refactoring so I took it out of the README for now but I just tested the 'inference on a directory mode' which is also outline in the README which should work now.