Change .pth to .pt following torch convention

This commit is contained in:
Yin Li 2020-06-20 18:31:09 -04:00
parent c3877ae982
commit c3d7456d0c
4 changed files with 8 additions and 7 deletions

View file

@ -37,7 +37,7 @@ m2m.py test \
--test-tgt-patterns "$data_root_dir/$tgt_dir/$test_dirs/$tgt_files" \
--in-norms cosmology.dis --tgt-norms cosmology.dis --crop 256 --pad 20 \
--model VNet \
--load-state best_model.pth \
--load-state best_model.pt \
--batches 1 --loader-workers 0 \
--cache

View file

@ -37,7 +37,7 @@ m2m.py test \
--test-tgt-patterns "$data_root_dir/$tgt_dir/$test_dirs/$tgt_files" \
--in-norms cosmology.vel --tgt-norms cosmology.vel --crop 256 --pad 20 \
--model VNet \
--load-state best_model.pth \
--load-state best_model.pt \
--batches 1 --loader-workers 0 \
--cache