Skip to content

Commit fb7e6a0

Browse files
committed
Update vis_animals.sh to set model_type for FMPose3D and adjust saved_model_path for consistency with the new model registry structure.
1 parent f4b7d4f commit fb7e6a0

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

animals/demo/vis_animals.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff 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
1415
input_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} \

0 commit comments

Comments
 (0)