Train OSTrack models
mainTo train OSTrack, you must first download the pre-trained MAE ViT-Base weights and place them in the $PROJECT_ROOT$/pretrained_models directory.
Use tracking/train.py to start training. You can specify the model configuration using the --config flag (configs are located in experiments/ostrack).
Arguments:
--script: Set toostrack.--config: The desired model configuration name.--save_dir: Directory to save training outputs.--mode: Training mode (e.g.,multiple).--nproc_per_node: Number of GPUs to use.--use_wandb: Set to1to use Weights & Biases for logging, or0to disable.
python tracking/train.py --script ostrack --config vitb_256_mae_ce_32x4_ep300 --save_dir ./output --mode multiple --nproc_per_node 4 --use_wandb 1