1 Star 3 Fork 0

OpenXRLab/xrnerf

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
train_mvs.sh 1.13 KB
一键复制 编辑 原始数据 按行查看 历史
Betty0311 提交于 2022-06-21 12:53 . kilonerf_dev
DATASET=$1
# DATASET=Lego
PARTITION=$2
NUM_GPU=$3
SRUN="srun -p $PARTITION -n1 --mpi=pmi2 --gres=gpu:$NUM_GPU --ntasks-per-node=1 --cpus-per-task=8 -x SH-IDC1-10-5-37-39 --job-name=train_generator --kill-on-bad-exit=0"
PYTHON="/mnt/lustre/fanrui/miniconda3/envs/kilonerf/bin/python -u "
# PYTHON="/mnt/lustre/share/spring/conda_envs/miniconda3/envs/s0.3.4/bin/python -u "
echo "[INFO] DATASET: $DATASET"
echo "[INFO] Partition: $PARTITION, Used GPU Num: $NUM_GPU. "
echo "[INFO] SRUN: $SRUN"
echo "[INFO] PYTHON: $PYTHON"
# SCRIPT1="train_kilonerf_new.py"
SCRIPT1="run_nerf.py"
# PYTHON_SCRIPT1="$PYTHON $SCRIPT1 --config ./configs/kilonerfsv3/$CONFIG --test_only"
PYTHON_SCRIPT1="$PYTHON $SCRIPT1 --config ./configs/kilonerfs/kilonerf_pretrain_BlendedMVS_base01.py --dataname $DATASET"
PYTHON_SCRIPT2="$PYTHON $SCRIPT1 --config ./configs/kilonerfs/kilonerf_distill_BlendedMVS_base01.py --dataname $DATASET"
PYTHON_SCRIPT3="$PYTHON $SCRIPT1 --config ./configs/kilonerfs/kilonerf_finetune_BlendedMVS_base01.py --dataname $DATASET"
echo "$PYTHON_SCRIPT1"
$PYTHON_SCRIPT1
echo "$PYTHON_SCRIPT2"
$PYTHON_SCRIPT2
echo "$PYTHON_SCRIPT3"
$PYTHON_SCRIPT3
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/OpenXRLab/xrnerf.git
[email protected]:OpenXRLab/xrnerf.git
OpenXRLab
xrnerf
xrnerf
main

搜索帮助