-
Notifications
You must be signed in to change notification settings - Fork 74
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
TypeError: forward() missing 2 required positional arguments: 'attn' and 'src_map' #18
Comments
hi - thanks for reaching out. We will check what's wrong. Might take a little bit.. Just to double check, you only have the modified ONMT version in your conda environment ? |
I check my ONMT enviroment. And I remenber little modifying ONMT code!
So, I fixed
After modifying, I try Thanks. |
I meet the same err!
|
So anyone solved it? |
I am facing the same issue. Did someone fix this somehow for seq2seq-vis to work with copy-attn as well? |
Hi, I get some error when I did
python VisServer.py
.My enviroment is this.
Ubuntu 16.04
Anaconda
Python 3.6
I installed Seq2Seq-Vis with conda.
And, I trained summarization model with my own data.
I trained following command.
After training, I create
state.h5
,encoder.faiss
,decoder.faiss
,context.faiss
.Then I do
python VisServer.py
, but I got following error.Thanks.
The text was updated successfully, but these errors were encountered: