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
Use case
DIR1/model1/
DIR1/model2/
DIR1/model3/
etc...
predict.py automatically picking up all other directories (model1/2/3) while I defined to use only one for predictions, I suppose it should use only and only one directory to look for *.pt? python /home/user/git/chemprop/predict.py --test_path test.csv --preds_path test_preds.csv --checkpoint_path ./DIR1/model3/
The text was updated successfully, but these errors were encountered:
The behavior of --checkpoint_dir <dir> is to walk the directory <dir> and to load all *.pt files it finds. It then uses all the models it finds as an ensemble to make predictions. If you would only like it to load a single model for prediction, then you should use --checkpoint_path /path/to/model.pt.
Use case
DIR1/model1/
DIR1/model2/
DIR1/model3/
etc...
predict.py automatically picking up all other directories (model1/2/3) while I defined to use only one for predictions, I suppose it should use only and only one directory to look for *.pt?
python /home/user/git/chemprop/predict.py --test_path test.csv --preds_path test_preds.csv --checkpoint_path ./DIR1/model3/
The text was updated successfully, but these errors were encountered: