-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #136 from wenh06/master
put validation set in use
- Loading branch information
Showing
12 changed files
with
1,751 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Object detection reference training scripts | ||
|
||
This folder contains reference training scripts for object detection. | ||
They serve as a log of how to train specific models, to provide baseline | ||
training and evaluation scripts to quickly bootstrap research. | ||
|
||
To execute the example commands below you must install the following: | ||
|
||
``` | ||
cython | ||
pycocotools | ||
matplotlib | ||
``` | ||
|
||
You must modify the following flags: | ||
|
||
`--data-path=/path/to/coco/dataset` | ||
|
||
`--nproc_per_node=<number_of_gpus_available>` | ||
|
||
Except otherwise noted, all models have been trained on 8x V100 GPUs. | ||
|
||
### Faster R-CNN | ||
``` | ||
python -m torch.distributed.launch --nproc_per_node=8 --use_env train.py\ | ||
--dataset coco --model fasterrcnn_resnet50_fpn --epochs 26\ | ||
--lr-steps 16 22 --aspect-ratio-group-factor 3 | ||
``` | ||
|
||
|
||
### Mask R-CNN | ||
``` | ||
python -m torch.distributed.launch --nproc_per_node=8 --use_env train.py\ | ||
--dataset coco --model maskrcnn_resnet50_fpn --epochs 26\ | ||
--lr-steps 16 22 --aspect-ratio-group-factor 3 | ||
``` | ||
|
||
|
||
### Keypoint R-CNN | ||
``` | ||
python -m torch.distributed.launch --nproc_per_node=8 --use_env train.py\ | ||
--dataset coco_kp --model keypointrcnn_resnet50_fpn --epochs 46\ | ||
--lr-steps 36 43 --aspect-ratio-group-factor 3 | ||
``` | ||
|
Oops, something went wrong.