Skip to content
Snippets Groups Projects
Commit e85a3122 authored by Franck Dary's avatar Franck Dary
Browse files

Removed message when decoding config

parent fc6f6081
No related branches found
No related tags found
No related merge requests found
......@@ -11,8 +11,6 @@ void Decoder::decode(BaseConfig & config, std::size_t beamSize)
{
config.setState(machine.getStrategy().getInitialState());
fmt::print(stderr, "\r{:80}\rDecoding dev...", " ");
while (true)
{
auto dictState = machine.getDict(config.getState()).getState();
......
......@@ -85,8 +85,6 @@ int main(int argc, char * argv[])
decoder.decode(config, 1);
fmt::print(stderr, "\n");
config.print(stdout);
} catch(std::exception & e) {util::error(e);}
......
......@@ -88,6 +88,7 @@ int main(int argc, char * argv[])
{
float loss = trainer.epoch();
auto devConfig = devGoldConfig;
fmt::print(stderr, "\r{:80}\rDecoding dev...", " ");
decoder.decode(devConfig, 1);
decoder.evaluate(devConfig, modelPath, devTsvFile);
float devScore = decoder.getF1Score("UPOS");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment