Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'model' #1

Open
SimonKitSangChu opened this issue Jul 8, 2020 · 4 comments
Open

ModuleNotFoundError: No module named 'model' #1

SimonKitSangChu opened this issue Jul 8, 2020 · 4 comments

Comments

@SimonKitSangChu
Copy link

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'
xqding added a commit that referenced this issue Jul 9, 2020
@xqding
Copy link
Collaborator

xqding commented Jul 9, 2020

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.

@SimonKitSangChu
Copy link
Author

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'

@xqding
Copy link
Collaborator

xqding commented Jul 11, 2020

Could you try it again? It should be fixed.

@SimonKitSangChu
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants