Skip to content

[cherry-pick] fix some configs #7770

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion configs/fcos/fcos_r50_fpn_iou_1x_coco.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ weights: output/fcos_r50_fpn_iou_1x_coco/model_final
TrainReader:
sample_transforms:
- Decode: {}
- RandomResize: {target_size: [[640, 1333], [672, 1333], [704, 1333], [736, 1333], [768, 1333], [800, 1333]], keep_ratio: True, interp: 1}
- Resize: {target_size: [800, 1333], keep_ratio: True, interp: 1}
- NormalizeImage: {mean: [0.485, 0.456, 0.406], std: [0.229, 0.224, 0.225], is_scale: True}
- RandomFlip: {}
batch_transforms:
Expand All @@ -26,6 +26,7 @@ TrainReader:
batch_size: 2
shuffle: True
drop_last: True
use_shared_memory: True


EvalReader:
Expand Down
1 change: 1 addition & 0 deletions configs/fcos/fcos_r50_fpn_iou_multiscale_2x_coco.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ TrainReader:
batch_size: 2
shuffle: True
drop_last: True
use_shared_memory: True


EvalReader:
Expand Down
1 change: 1 addition & 0 deletions configs/fcos/fcos_r50_fpn_multiscale_2x_coco.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ TrainReader:
batch_size: 2
shuffle: True
drop_last: True
use_shared_memory: True

epoch: 24

Expand Down
2 changes: 2 additions & 0 deletions configs/slim/distill/ppyoloe_plus_distill_l_distill_m.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ DistillPPYOLOELoss: # L -> M
loss_weight: {'logits': 4.0, 'feat': 1.0}
logits_distill: True
logits_loss_weight: {'class': 1.0, 'iou': 2.5, 'dfl': 0.5}
logits_ld_distill: True
logits_ld_params: {'weight': 20000, 'T': 10}
feat_distill: True
feat_distiller: 'fgd' # ['cwd', 'fgd', 'pkd', 'mgd', 'mimic']
feat_distill_place: 'neck_feats'
Expand Down
2 changes: 2 additions & 0 deletions configs/slim/distill/ppyoloe_plus_distill_x_distill_l.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ DistillPPYOLOELoss: # X -> L
loss_weight: {'logits': 4.0, 'feat': 1.0}
logits_distill: True
logits_loss_weight: {'class': 1.0, 'iou': 2.5, 'dfl': 0.5}
logits_ld_distill: True
logits_ld_params: {'weight': 20000, 'T': 10}
feat_distill: True
feat_distiller: 'fgd' # ['cwd', 'fgd', 'pkd', 'mgd', 'mimic']
feat_distill_place: 'neck_feats'
Expand Down