File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,8 +7,9 @@ sh_file='vis_animals.sh'
77# n_joints=26
88# out_joints=26
99
10- model_path=' ../pre_trained_models/animal3d_pretrained_weights/model_animal3d.py'
11- saved_model_path=' ../pre_trained_models/animal3d_pretrained_weights/CFM_154_4403_best.pth'
10+ model_type=' fmpose3d_animals'
11+ # model_path='' # set to a local file path to override the registry
12+ saved_model_path=' ../pre_trained_models/fmpose3d_animals/fmpose3d_animals_pretrained_weights.pth'
1213
1314# path='./images/image_00068.jpg' # single image
1415input_images_folder=' ./images/' # folder containing multiple images
@@ -17,7 +18,8 @@ python3 vis_animals.py \
1718 --type ' image' \
1819 --path ${input_images_folder} \
1920 --saved_model_path " ${saved_model_path} " \
20- --model_path " ${model_path} " \
21+ ${model_path: +--model_path " $model_path " } \
22+ --model_type " ${model_type} " \
2123 --sample_steps ${sample_steps} \
2224 --batch_size ${batch_size} \
2325 --layers ${layers} \
You can’t perform that action at this time.
0 commit comments