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

Error occured while running 'mmin.sh' #3

Open
cenjinglun opened this issue Oct 19, 2021 · 1 comment
Open

Error occured while running 'mmin.sh' #3

cenjinglun opened this issue Oct 19, 2021 · 1 comment

Comments

@cenjinglun
Copy link

File "~/MMIN-master/models/utt_fusion_model.py", line 40, in __init__
    self.modality = opt.modality
AttributeError: 'OptConfig' object has no attribute 'modality'

When I want to reproduce the code, this error occured! Could you just show me how to solve this?

@FatDs-lrc
Copy link
Collaborator

File "~/MMIN-master/models/utt_fusion_model.py", line 40, in __init__
    self.modality = opt.modality
AttributeError: 'OptConfig' object has no attribute 'modality'

When I want to reproduce the code, this error occured! Could you just show me how to solve this?

Would you please give me the command you use when this error occured? It works fine when I running this script like "bash scripts/mmin.sh 2 0", in which, "2" refers to the running index(experiment number) and "0" refers to the GPU id.
The error occurs in "utt_fusion_model.py", it seems that you are running scripts/utt_fusion.sh, when you are using this scripts, you should pass the modality parameter to it as one of ['AVL', 'AV', 'AL', 'VL', 'A', 'V', 'L'].

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