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

run_summarization.py not working #10

Open
jbassey opened this issue May 23, 2020 · 2 comments
Open

run_summarization.py not working #10

jbassey opened this issue May 23, 2020 · 2 comments

Comments

@jbassey
Copy link

jbassey commented May 23, 2020

For some reason, run_summarization.py gets stuck and gives an error message about the single_pass flag
"The single_pass flag should only be True in decode mode")
Exception: The single_pass flag should only be True in decode mode

P/S: the flag is False by default so I'm not sure why this error still pops up

@armancohan
Copy link
Owner

What is the command you are using for training? Please see the run.py for a sample command.
Based on the line throwing that error, you are either setting --mode=decode or passing --single-pass to your run command.

@jbassey
Copy link
Author

jbassey commented May 26, 2020

Thank you for the prompt response. The error has been fixed.
However after training and evaluation, what is the exact process for testing?
by that I mean, I have an input of a block of text and I want to generate the summary?

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