BrooksResearchGroup-UM/PEVAE_Paper

ModuleNotFoundError: No module named 'model'

SimonKitSangChu opened this issue · 4 comments

Fail to launch script/analyze_model.py. Cannot find module model in repository.

python script/analyze_model.py 
Traceback (most recent call last):
  File "script/analyze_model.py", line 9, in <module>
    from model import *
ModuleNotFoundError: No module named 'model'

Thanks for raising the issue. Replace the line from model import * with from VAE_model improt * in the file script/analyze_model.py should be able to fix the problem.

After updating the import line, there is another issue.

python ./script/analyze_model.py 
Traceback (most recent call last):
  File "./script/analyze_model.py", line 34, in <module>
    train_data = MSA_Dataset(seq_msa_binary, seq_weight)
TypeError: __init__() missing 1 required positional argument: 'seq_keys'

Could you try it again? It should be fixed.

git pull-ed to commit b90f8e2. Error persists after merging.