Train MVSNet and R-MVSNet models
masterNavigate to the MVSNet/mvsnet directory to begin training. You can train either the standard MVSNet (using 3DCNNs regularization) or the recurrent R-MVSNet (using GRU regularization) on various datasets like BlendedMVS, DTU, or ETH3D.
Training MVSNet (3DCNNs)
- BlendedMVS:
python train.py --regularization '3DCNNs' --train_blendedmvs --max_w 768 --max_h 576 --max_d 128 --online_augmentation - DTU:
python train.py --regularization '3DCNNs' --train_dtu --max_w 640 --max_h 512 --max_d 128 - ETH3D:
python train.py --regularization '3DCNNs' --train_eth3d --max_w 896 --max_h 480 --max_d 128
Training R-MVSNet (GRU)
- BlendedMVS:
python train.py --regularization 'GRU' --train_blendedmvs --max_w 768 --max_h 576 --max_d 128 --online_augmentation - DTU:
python train.py --regularization 'GRU' --train_dtu --max_w 640 --max_h 512 --max_d 128 - ETH3D:
python train.py --regularization 'GRU' --train_eth3d --max_w 896 --max_h 480 --max_d 128
Configuration Flags
--blendedmvs_data_root,--dtu_data_root,--eth3d_data_root: Specify input training data folders.--log_folder: Specify output log folder.--model_folder: Specify output model folder.--train_blendedmvg: Use this instead of--train_blendedmvsto switch from BlendedMVS to BlendedMVG.
cd MVSNet/mvsnet
python train.py --regularization '3DCNNs' --train_blendedmvs --max_w 768 --max_h 576 --max_d 128 --online_augmentation