Train Pixel-Perfect Depth (Two-stage pipeline)
mainTraining follows a two-stage curriculum:
- Stage 1: Pre-training (512×512 resolution on Hypersim dataset).
- Stage 2: Fine-tuning (1024×768 resolution on a mixture of five datasets).
Use the main.py script with the appropriate configuration files.
# Stage 1: Pre-training
python main.py --cfg_file ppd/configs/train_pretrain.yaml pl_trainer.devices=8
# Stage 2: Fine-tuning
python main.py --cfg_file ppd/configs/train_finetune.yaml pl_trainer.devices=8