OBJ=horse
start=`date +%s`
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_00.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_00/${OBJ}_00.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_00/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_01.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_01/${OBJ}_01.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_01/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_02.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_02/${OBJ}_02.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_02/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_03.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_03/${OBJ}_03.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_03/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_04.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_04/${OBJ}_04.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_04/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_05.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_05/${OBJ}_05.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_05/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_06.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_06/${OBJ}_06.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_06/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_07.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_07/${OBJ}_07.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_07/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_08.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_08/${OBJ}_08.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_08/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_09.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_09/${OBJ}_09.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_09/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_10.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_10/${OBJ}_10.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_10/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_11.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_11/${OBJ}_11.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_11/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_12.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_12/${OBJ}_12.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_12/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_13.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_13/${OBJ}_13.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_13/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_14.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_14/${OBJ}_14.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_14/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_15.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_15/${OBJ}_15.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_15/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_16.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_16/${OBJ}_16.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_16/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_17.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_17/${OBJ}_17.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_17/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_18.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_18/${OBJ}_18.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_18/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_19.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_19/${OBJ}_19.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_19/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_20.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_20/${OBJ}_20.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_20/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_21.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_21/${OBJ}_21.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_21/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_22.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_22/${OBJ}_22.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_22/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_23.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_23/${OBJ}_23.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_23/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_24.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_24/${OBJ}_24.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_24/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_25.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_25/${OBJ}_25.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_25/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_26.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_26/${OBJ}_26.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_26/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_27.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_27/${OBJ}_27.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_27/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_28.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_28/${OBJ}_28.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_28/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_29.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_29/${OBJ}_29.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_29/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_30.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_30/${OBJ}_30.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_30/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_31.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_31/${OBJ}_31.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_31/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_32.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_32/${OBJ}_32.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_32/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_33.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_33/${OBJ}_33.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_33/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_34.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_34/${OBJ}_34.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_34/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_35.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_35/${OBJ}_35.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_35/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_36.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_36/${OBJ}_36.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_36/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
python ../models/mixvoxels_brics/render_circle.py --config ../models/mixvoxels_brics/configs/schedule25000/${OBJ}/${OBJ}_37.txt --ckpt assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_37/${OBJ}_37.th --n_train_frames 1
cp ./assets/objects/${OBJ}/dynamic_data/mixvoxels/${OBJ}_37/imgs_spiral_hr_all/*.png ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/
ffmpeg -y -framerate 30 -i ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/cam_%08d.png -b:v 20M -c:v libx264 ./assets/objects/${OBJ}/dynamic_data/mixvoxels/imgs_spiral_hr_all/cams_trajectory.mp4
end=`date +%s`
runtime=$((end-start))
echo $runtime