Skip to content

Commit 34eef00

Browse files
committed
Update test_animal3d.sh to modify eval_sample_steps, change model_type, and update saved_model_path for consistency with model registry usage.
1 parent 5e1e6fa commit 34eef00

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

animals/scripts/test_animal3d.sh

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,26 @@ layers=5
22
batch_size=13
33
lr=1e-3
44
gpu_id=0
5-
eval_sample_steps=3
5+
eval_sample_steps=5
66
num_saved_models=3
77
frames=1
88
large_decay_epoch=15
99
lr_decay_large=0.75
1010
n_joints=26
1111
out_joints=26
1212
epochs=300
13-
# model_path='models/model_animals.py'
14-
model_path='./pre_trained_models/animal3d_pretrained_weights/model_animal3d.py' # when the path is empty, the model will be loaded from the installed fmpose package
15-
saved_model_path='./pre_trained_models/animal3d_pretrained_weights/CFM_154_4403_best.pth'
13+
model_type='fmpose3d_animals'
14+
# model_path='' # set to a local file path to override the registry
15+
saved_model_path='./pre_trained_models/fmpose3d_animals/fmpose3d_animals_pretrained_weights.pth'
16+
1617
# root path denotes the path to the original dataset
1718
root_path="./dataset/"
1819
train_dataset_paths=(
1920
"./dataset/animal3d/train.json"
2021
"./dataset/control_animal3dlatest/train.json"
2122
)
2223
test_dataset_paths=(
23-
"./dataset/control_animal3dlatest/test.json"
24+
"./dataset/animal3d/test.json"
2425
)
2526

2627
folder_name="TestCtrlAni3D_L${layers}_lr${lr}_B${batch_size}_$(date +%Y%m%d_%H%M%S)"
@@ -33,6 +34,7 @@ python ./scripts/main_animal3d.py \
3334
--test 1 \
3435
--batch_size ${batch_size} \
3536
--lr ${lr} \
37+
--model_type "${model_type}" \
3638
${model_path:+--model_path "$model_path"} \
3739
--folder_name ${folder_name} \
3840
--layers ${layers} \

0 commit comments

Comments
 (0)