Skip to content
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

Feedback #1

Open
wants to merge 34 commits into
base: feedback
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 33 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
2f2b23b
Setting up GitHub Classroom Feedback
github-classroom[bot] Sep 30, 2024
8227195
feat: DDQ, CO-DETR, ATSS, DINO, KFold(DINO)
naringles Oct 14, 2024
b7ec909
fix: adjust num_classes error
naringles Oct 14, 2024
06d2967
feat: add super-resolution, tta config
naringles Oct 22, 2024
dac9092
seungsoo_ddq
hanseungsoo13 Oct 28, 2024
8932e41
yolo11 and pseudo labeling
Jeong-AYeong Oct 28, 2024
6f53c3c
Merge remote-tracking branch 'origin/donghun'
naringles Oct 28, 2024
29e5db6
Update README.md
SkyBlue-boy Oct 28, 2024
a83e72f
Update README.md
SkyBlue-boy Oct 28, 2024
2031570
Update README.md
SkyBlue-boy Oct 28, 2024
8af691b
Update README.md
SkyBlue-boy Oct 28, 2024
4e09c89
Update README.md
SkyBlue-boy Oct 28, 2024
6bba3a8
Update README.md
SkyBlue-boy Oct 28, 2024
b0b2668
Update README.md
SkyBlue-boy Oct 28, 2024
5d4300d
Update README.md
SkyBlue-boy Oct 28, 2024
b38713c
Update README.md
SkyBlue-boy Oct 28, 2024
b8320bc
Update README.md
SkyBlue-boy Oct 28, 2024
8a07214
Update README.md
SkyBlue-boy Oct 28, 2024
2860aa2
Update README.md
SkyBlue-boy Oct 28, 2024
6a6a66b
Update README.md
SkyBlue-boy Oct 28, 2024
b310c76
Update README.md
SkyBlue-boy Oct 28, 2024
576bab7
Update README.md
Jeong-AYeong Oct 28, 2024
5ca5e78
Update README.md
hanseungsoo13 Oct 28, 2024
75ec5b8
Update README.md
hanseungsoo13 Oct 28, 2024
7643ef1
Update README.md
naringles Oct 28, 2024
8f8cfcf
Update README.md
naringles Oct 28, 2024
4ebd3ad
Update README.md
naringles Oct 28, 2024
1aaaa3d
Update README.md
naringles Oct 28, 2024
ddf5891
readme commit
Ai-BT Oct 28, 2024
9986e60
readme 수정
Ai-BT Oct 28, 2024
305fef1
readme 수정 확인
Ai-BT Oct 28, 2024
2ebfbd0
readme 수정
Ai-BT Oct 28, 2024
be2c2ce
readme 수정
Ai-BT Oct 28, 2024
0f94b20
Update README.md
naringles Dec 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
56 changes: 56 additions & 0 deletions DDQ_seungsoo/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
## Copy Paste 활용
1. `custom`폴더의 `copy_paste_aug` 폴더를 `mmdetection/mmdet`에 넣어줍니다.
2. `mmdet/datasets/transforms/__init__.py`에 아래와 같은 두 코드를 넣어줍니다.
```
from mmdet.copy_paste_aug.custom_loader import LoadAnnotationswithbox
from mmdet.copy_paste_aug.custom_copypaste import custom_CopyPaste
```
3. `__all__` 리스트에 `'custom_CopyPaste','LoadAnnotationswithbox'` 추가

## Train
1. `train.py`의 train_pipeline 수정
```
train_pipeline = [
dict(
type='custom_mosaic_copy_paste',paste_by_box=True),
dict(
type='Albu',
transforms=albu_train_transforms,
bbox_params=dict(
type='BboxParams',
format='pascal_voc',
label_fields=['gt_bboxes_labels', 'gt_ignore_flags'],
min_visibility=0.0,
filter_lost_elements=True),
keymap={
'img': 'image',
'gt_bboxes': 'bboxes'
},
skip_img_without_anno=True),
dict(type='FilterAnnotations', min_gt_bbox_wh=(50, 50), keep_empty=True),
dict(type='RandomFlip', prob=0.5),
dict(type = 'RandomCrop',crop_size=img_scale),
dict(type='PackDetInputs')
]
```
2. `train.py`의 train_dataset 수정
```
train_dataset = dict(
_delete_=True,
# use MultiImageMixDataset wrapper to support mosaic and mixup
type='MultiImageMixDataset',
dataset=dict(
type='CocoDataset',
metainfo = metainfo,
data_root=data_root,
ann_file='train_2_annot.json',
data_prefix=dict(img= ''),
filter_cfg=dict(filter_empty_gt=True),
pipeline=[
dict(type='LoadImageFromFile'),
dict(type='LoadAnnotations', with_bbox=True)
]),
pipeline=train_pipeline)
```

자세한 사항은 `ddq_train.py` 참고
371 changes: 371 additions & 0 deletions DDQ_seungsoo/custom/Augmentation_test.ipynb

Large diffs are not rendered by default.

Loading