Spaces:
Running
on
Zero
Running
on
Zero
set -x | |
# gso_rendering="/mnt/sfs-common/yslan/Dataset/GSO/gso-rendering" | |
gso_pcd='/mnt/sfs-common/yslan/Repo/3dgen/FID-KID-Outputdir/3D-metrics-fps/gso' | |
# gso_rendering="gso-rendering" | |
# output_path=/mnt/sfs-common/yslan/Repo/3dgen/FID-KID-Outputdir/3D-metrics | |
# output_path=/mnt/sfs-common/yslan/Repo/3dgen/FID-KID-Outputdir/3D-metrics-fps | |
# ! for calculating direct fps sampling from surfel gs | |
# output_path=/mnt/sfs-common/yslan/Repo/3dgen/FID-KID-Outputdir | |
# ! for pointnet models | |
cache_dir=/mnt/sfs-common/yslan/Repo/3dgen/FID-KID-Outputdir/3D-metrics/cache | |
# method_name=LGM | |
# for method_name in LGM CRM Lara ln3diff One-2-3-45 OpenLRM shape-e splatter-img | |
# ! eval gso | |
# for method_name in LGM CRM Lara ln3diff One-2-3-45 OpenLRM shape-e splatter-img \ | |
# GA/stage-2/dino_img/ditl-fromditlPCD-fixPose-tomesh \ | |
# GA/stage-2/dino_img/ditl-fromditlPCD-fixPose-tomesh-ditxlPCD \ | |
# do | |
# python fpd_eval.py \ | |
# $gso_pcd \ | |
# ${output_path}/${method_name} \ | |
# --cache_dir ${cache_dir} \ | |
# done | |
# ! eval g-objv | |
output_path=/mnt/sfs-common/yslan/Repo/3dgen/FID-KID-Outputdir-objv/3D-metrics-fps/ | |
objv_path="/mnt/sfs-common/yslan/Repo/3dgen/FID-KID-Outputdir-objv/3D-metrics-fps/objv-gt" | |
# for method_name in CRM/Animals Lara | |
# for method_name in GA splatter-img shape-e/Animals LGM_fixpose ln3diff-lite/Animals Lara OpenLRM/Animals One-2-3-45/Animals | |
# for method_name in LGM_fixpose | |
for method_name in CRM/Animals scale3d/eval/eval_nerf/Animals scale3d/eval/eval_mesh/Animals | |
do | |
python fpd_eval_objv.py \ | |
$objv_path \ | |
${output_path}/${method_name} \ | |
--cache_dir ${cache_dir} \ | |
done |