Before starting training, you must download specific pre-trained weights and configure your Weights & Biases (wandb) account.
1. Download Weights
Download the required UniMatch and Depth Anything V2 weights into the pretrained/ directory:
wget https://s3.eu-central-1.amazonaws.com/avg-projects/unimatch/pretrained/gmflow-scale1-things-e9887eda.pth -P pretrained
wget https://huggingface.co/depth-anything/Depth-Anything-V2-Small/resolve/main/depth_anything_v2_vits.pth -P pretrained
2. Configure Logging
Set up your wandb account and update config/main.yaml by setting wandb.entity=YOUR_ACCOUNT to enable logging.
3. Hardware Requirements
While the authors use four GH200 GPUs, you can train on other configurations (e.g., four RTX 4090s or a single A100 80GB). To maintain consistent results, ensure the total number of training samples remains constant:
$$ ext{Total Samples} = ext{num GPUs} imes ext{data_loader.train.batch_size} imes ext{trainer.max_steps}$$