You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I run predict function with right config in Google Colab but I get ConfigurationError: Invalid `batch_type` option. even when the batch_type in my config.yaml is set to sentence or token (the JoeyNMT version is 2.2.0)
what I want is to get the hypothesis score for each sentence when I pass a dataset to predict function when import from joeynmt.prediction. I pretty sure that my config file is pointed correctly, and also for the config setting. I checked many times, even when run the config with python -m joeynmt test directory/config.yaml .... is okay.
I run
predict
function with right config in Google Colab but I getConfigurationError: Invalid `batch_type` option.
even when thebatch_type
in myconfig.yaml
is set tosentence
ortoken
(the JoeyNMT version is 2.2.0)what I want is to get the hypothesis score for each sentence when I pass a dataset to
predict
function when import fromjoeynmt.prediction
. I pretty sure that my config file is pointed correctly, and also for the config setting. I checked many times, even when run the config withpython -m joeynmt test directory/config.yaml ....
is okay.I call
Logged output
my configuration is
The text was updated successfully, but these errors were encountered: