Closed noemiernst closed 3 years ago
Hi @noemiernst , Thank you for your interest in code2seq!
Can you try to disable rouge
by changing the following two lines: https://github.com/tech-srl/code2seq/blob/master/model.py#L230-L231 to simply be rouge = 0
, and see if the problem persists?
Best, Uri
Hi Uri, I changed the lines and now it does not crash anymore and runs through. However the training now worsens the model with each epoch.
What exactly are you running? Please provide the exact command line, and any modifications that you made to the code or configuration.
Uri
On Sun, 2 May 2021 at 10:23 Noemi @.***> wrote:
Hi Uri, I changed the lines and now it does not crash anymore and runs through. However the training now worsens the model with each epoch.
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/tech-srl/code2seq/issues/94#issuecomment-830764272, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSOXMA2JX2PBVNL5S3TCDDTLT4XFANCNFSM43WX3V6A .
I tried to recreate what I did and for some reason it is now doing what it should. I honestly do not know what happened but I am glad it is working now. Thanks for your help :)
Great! I'm glad to hear. Feel free to create issues if you have other questions.
Hi, whenever I put for config.BEAM_WIDTH a value > 0 in the config.py file, I end up with the following Error: