I tried to use this demo on CORD from Niels Rogge, but during the training, it says that:
ValueError: num_beams is set to 1. However, early_stopping is set to True -- this flag is only used in beam-based generation modes. Set num_beams>1 or unset early_stopping to continue.
When I used num_beams from 1 to 2 at the point where I defined the Lighting Module, it worked. It worked without this change before, but this time it started giving this error
Hi,
Thank you for your work.
I tried to use this demo on CORD from Niels Rogge, but during the training, it says that: ValueError:
num_beams
is set to 1. However, early_stopping is set to True -- this flag is only used in beam-based generation modes. Setnum_beams>1
or unset early_stopping to continue.When I used num_beams from 1 to 2 at the point where I defined the Lighting Module, it worked. It worked without this change before, but this time it started giving this error