lambdanet / DN_RGB /code /train-6rec-rafts-s-gpu1-r3-detach.sh
hyliu's picture
Upload folder using huggingface_hub
2541ce6 verified
#!/bin/bash
bash ./prepare.sh
lst=0
for i in {0..3};
do
if nvidia-smi -i $i | grep -q "python"; then
:
else
lst=$i
break
fi
done
CUDA_VISIBLE_DEVICES=$lst python main.py --n_GPUs 1 --lr 1e-4 --batch_size 16 --n_resblocks 20 --save_models \
--epoch 1000 --decay 200-400-600-800 --model RAFTNETS --scale 50 --patch_size 48 \
--save RAFTS_N50_R4_nobn_r3_detach0.6 --n_feats 64 --data_train DIV2K --recurrence 6 --normalization none \
--lamradius 3 --detach --decay_gamma 0.6 # --load RAFTS_N50_R4_nobn --resume -1