-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix code typos mentioned in #5 and refactor
- Loading branch information
Showing
10 changed files
with
10 additions
and
62 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
28 changes: 1 addition & 27 deletions
28
configs/soft_teacher/soft_teacher_faster_rcnn_r101_caffe_fpn_coco_full_1080k.py
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 |
---|---|---|
@@ -1,36 +1,10 @@ | ||
_base_ = "base.py" | ||
_base_ = "soft_teacher_faster_rcnn_r50_caffe_fpn_coco_full_720k.py" | ||
model = dict( | ||
backbone=dict( | ||
depth=101, | ||
init_cfg=dict(checkpoint="open-mmlab://detectron2/resnet101_caffe"), | ||
) | ||
) | ||
|
||
data = dict( | ||
samples_per_gpu=8, | ||
workers_per_gpu=8, | ||
train=dict( | ||
sup=dict( | ||
ann_file="data/coco/annotations/instances_train2017.json", | ||
img_prefix="data/coco/train2017/", | ||
), | ||
unsup=dict( | ||
ann_file="data/coco/annotations/instances_unlabeled2017.json", | ||
img_prefix="data/coco/unlabeled2017/", | ||
), | ||
), | ||
sampler=dict( | ||
train=dict( | ||
sample_ratio=[1, 1], | ||
) | ||
), | ||
) | ||
|
||
semi_wrapper = dict( | ||
train_cfg=dict( | ||
unsup_weight=2.0, | ||
) | ||
) | ||
|
||
lr_config = dict(step=[120000 * 6, 160000 * 6]) | ||
runner = dict(_delete_=True, type="IterBasedRunner", max_iters=180000 * 6) |
27 changes: 1 addition & 26 deletions
27
configs/soft_teacher/soft_teacher_faster_rcnn_r50_caffe_fpn_coco_full_1440k.py
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 |
---|---|---|
@@ -1,30 +1,5 @@ | ||
_base_ = "base.py" | ||
_base_ = "soft_teacher_faster_rcnn_r50_caffe_fpn_coco_full_720k.py" | ||
|
||
data = dict( | ||
samples_per_gpu=8, | ||
workers_per_gpu=8, | ||
train=dict( | ||
sup=dict( | ||
ann_file="data/coco/annotations/instances_train2017.json", | ||
img_prefix="data/coco/train2017/", | ||
), | ||
unsup=dict( | ||
ann_file="data/coco/annotations/instances_unlabeled2017.json", | ||
img_prefix="data/coco/unlabeled2017/", | ||
), | ||
), | ||
sampler=dict( | ||
train=dict( | ||
sample_ratio=[1, 1], | ||
) | ||
), | ||
) | ||
|
||
semi_wrapper = dict( | ||
train_cfg=dict( | ||
unsup_weight=2.0, | ||
) | ||
) | ||
|
||
lr_config = dict(step=[120000 * 8, 160000 * 8]) | ||
runner = dict(_delete_=True, type="IterBasedRunner", max_iters=180000 * 8) |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
from .formating import * | ||
from .formatting import * | ||
from .rand_aug import * |
File renamed without changes.
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