Train the Tracking Module
masterThe tracking module can be trained from scratch or resumed from a previous checkpoint.
Train from scratch
Use train.py with the TrackNet model name. Key arguments include --seq_len, --epochs, --batch_size, and --bg_mode (e.g., concat).
python train.py --model_name TrackNet --seq_len 8 --epochs 30 --batch_size 10 --bg_mode concat --alpha 0.5 --save_dir exp --verboseResume training
To continue from the last epoch to a specific epoch, use the --resume_training flag.
python train.py --model_name TrackNet --epochs 30 --save_dir exp --resume_training --verbose