Closed Pritishsingla closed 5 years ago
In the model directory, there is a yaml config file where the model parameters are stored. The config file also contains several file paths including the dataset files, the vocabulary files, the best model, checkpoints, and etc. I think updating these paths would resolve the issue for now. In the next version, we will make all paths relative to the model directory to avoid such issues.
While testing, the model requires a copy of the model_dir to also be present in the same directory as it was at the time of training the model. If the model_dir has been moved or renamed, an error is thrown. The moved model directory passed in the argument --model_dir while testing is used to store the outputs.