Closed yxchng closed 1 year ago
Is it possible to do command like this
python tools/train_net.py --config-file projects/deformable_detr/configs/path/to/config.py --num-gpus 8 --output_dir 'example'
? Or must I change the config file?
You can modify training config in command line as:
python tools/train_net.py --config-file projects/deformable_detr/configs/path/to/config.py --num-gpus 8 train.output_dir="/path/to/output_dir/"
Note that you can modify any config at command line using detrex, only one thing to care is, you should match the namespace in command line and your own config file:
python tools/train_net.py --config-file config.py --num-gpus 8 train.output_dir="./" train.max_iters=90000 ...
I'm closing this issue~ Feel free to reopen it if needed~
Is it possible to do command like this
python tools/train_net.py --config-file projects/deformable_detr/configs/path/to/config.py --num-gpus 8 --output_dir 'example'
? Or must I change the config file?