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 188 commits into
base: feedback
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
188 commits
Select commit Hold shift + click to select a range
0cb77e4
Setting up GitHub Classroom Feedback
github-classroom[bot] Sep 6, 2024
74a91a8
cv16 baseline
kkh090 Sep 10, 2024
7162e77
Update -title----body.md
whthdbs03 Sep 10, 2024
ea88543
Update -title----body.md
whthdbs03 Sep 10, 2024
a6c6c21
Update -title----body.md
whthdbs03 Sep 10, 2024
1a4b2c8
optim v1
Ja2Hw Sep 10, 2024
385b452
Merge pull request #16 from boostcampaitech7/opti
kkh090 Sep 10, 2024
654b702
Create README.md
Ja2Hw Sep 10, 2024
3db71b3
๋ฐ์ดํ„ฐ ๋ถˆ๋Ÿฌ์˜ค๊ธฐ ํ•ฉ์ฒด ํ•„์š” to CustomDataset
hocheol0303 Sep 10, 2024
3d80017
naive_traindata_loader
hocheol0303 Sep 10, 2024
6f269f2
fix/ ignore data folder
kkh090 Sep 10, 2024
033b0ee
Feat/ CustomDataset ๋ฐ์ดํ„ฐ์…‹์— ๋งž๊ฒŒ ์ˆ˜์ •
kkh090 Sep 10, 2024
3f4d397
Feat/ ์›ํ•ซ์ธ์ฝ”๋”ฉ
kkh090 Sep 10, 2024
4a7c200
Feat/ EDA ํŒŒ์ผ ์ƒ์„ฑ
hyanghyanging Sep 11, 2024
787ad01
Merge branch 'Development'
kkh090 Sep 11, 2024
c026e44
add_annotation
hocheol0303 Sep 11, 2024
64b459c
Feat/ ๋ชจ๋ธ ์„ ํƒ ํด๋ž˜์Šค
sejongmin Sep 11, 2024
180d6b6
merge with kkh090/issue6 into hocheol/dataloader
kkh090 Sep 11, 2024
b6bfe86
print_image_tmp
hocheol0303 Sep 11, 2024
7a34d5c
print_image_tmp2
hocheol0303 Sep 11, 2024
6fc817c
Merge branch 'hocheol/tmp' into hocheol/dataloader
hocheol0303 Sep 11, 2024
e778748
wandb v1
Ja2Hw Sep 11, 2024
01c0298
Style/ ๋ฉ˜ํ† ๋ง ์ฃผ์„ ์ถ”๊ฐ€
kkh090 Sep 11, 2024
82538e0
Merge branch 'hocheol/dataloader' into Development
kkh090 Sep 11, 2024
ac6eb7f
Merge pull request #24 from boostcampaitech7/sejongmin/issue10
kkh090 Sep 11, 2024
65212a8
Feat/ ์ถ”๋ก ์ฝ”๋“œ ์ž‘์„ฑํ•˜๊ธฐ
sejongmin Sep 11, 2024
c42dcc4
Merge branch 'Development' into 8#Wandb
kkh090 Sep 11, 2024
7d07ee7
Merge pull request #25 from boostcampaitech7/8#Wandb
kkh090 Sep 11, 2024
1ecb85c
Merge remote-tracking branch 'origin/8#Wandb' into Development
kkh090 Sep 11, 2024
90b631b
Merge branch 'Development' of https://github.com/boostcampaitech7/levโ€ฆ
kkh090 Sep 11, 2024
6187132
Merge pull request #26 from boostcampaitech7/sejongmin/issue15
kkh090 Sep 11, 2024
bf5ca9a
Merge branch 'Development'
kkh090 Sep 11, 2024
89a9bc7
dataloader.py:add_print_image
hocheol0303 Sep 11, 2024
aef0177
merge dev 0911
kkh090 Sep 11, 2024
528fb17
style/ files name changed
kkh090 Sep 11, 2024
581cfef
Merge branch 'main' into hocheol/dataloader
hocheol0303 Sep 11, 2024
ccf4f7a
Merge remote-tracking branch 'origin/main' into feat/12-classification
whthdbs03 Sep 11, 2024
7c74095
Transforms Augmentation v1
Ja2Hw Sep 11, 2024
0232814
Fix/ print:len(list)==2_error_fixed
hocheol0303 Sep 11, 2024
a3d9a8e
Refactor/ train.ipynb => train.py ๋ณ€๊ฒฝ
kkh090 Sep 11, 2024
50a3c42
Feat/ test.py ์ถ”๋ก  ์ฝ”๋“œ ์ถ”๊ฐ€
kkh090 Sep 11, 2024
3707b55
Fix/ test.py ์ค‘๋ณต ์ฝ”๋“œ ์ œ๊ฑฐ
kkh090 Sep 11, 2024
ff06ff9
Feat/ confusion matrix ์ถ”๊ฐ€ํ•˜๊ธฐ
hyanghyanging Sep 11, 2024
c851e05
edit gitignore
sejongmin Sep 11, 2024
9fe9ad1
์บ์‹œ ์‚ญ์ œ
hocheol0303 Sep 11, 2024
c8a238a
Merge branch 'dev' into hyanghyanging/issue17
sejongmin Sep 11, 2024
fdd9020
Transforms Augmentation v2 - type hinting
Ja2Hw Sep 11, 2024
6d2ca5d
Feat/ trainer.py ์ƒ์„ฑ
whthdbs03 Sep 11, 2024
1caa5ba
Merge branch 'hocheol/dataloader' into dev
kkh090 Sep 11, 2024
e92c928
Transforms Augmentation v3 - type hinting
Ja2Hw Sep 11, 2024
0479963
Merge pull request #31 from boostcampaitech7/kkh090/issue27
sejongmin Sep 11, 2024
4899a0b
Refactor/ test.py ์ˆ˜์ •
kkh090 Sep 11, 2024
42a3a81
Feat/ confusin matrix ์ƒˆ๋กœ ๊ณ ์นจ
hyanghyanging Sep 11, 2024
93e9dcc
Transforms Augmentation v4 - type hinting
Ja2Hw Sep 11, 2024
ff12ce3
Merge branch 'hyanghyanging/issue17' of https://github.com/boostcampaโ€ฆ
hyanghyanging Sep 11, 2024
169a613
Merge remote-tracking branch 'origin/hyanghyanging/issue17' into dev
kkh090 Sep 11, 2024
e91cda7
Style/ metrics.py moved to util
kkh090 Sep 11, 2024
3a8862e
Merge pull request #29 from boostcampaitech7/Ja2Hw/issue7
Ja2Hw Sep 11, 2024
fb33bc2
Feat/ ์ฒดํฌํฌ์ธํŠธ ํ•จ์ˆ˜ ์ƒ์„ฑ
whthdbs03 Sep 11, 2024
025752a
issue28/ v1
hocheol0303 Sep 11, 2024
8ab64fe
Merge pull request #35 from boostcampaitech7/feat/12-trainer
kkh090 Sep 11, 2024
54af4b1
#36 Separate v1
Ja2Hw Sep 11, 2024
6c8d5ed
transformer-lower
Ja2Hw Sep 11, 2024
3cb97cd
Merge pull request #38 from boostcampaitech7/transformer-lower-v1
Ja2Hw Sep 11, 2024
7ec8a5c
Feat/ train test code added
kkh090 Sep 11, 2024
8df0275
Merge pull request #37 from boostcampaitech7/36-TrainVal
kkh090 Sep 11, 2024
eeb817a
#36 Seperate v2 - csv in SourceDir
Ja2Hw Sep 11, 2024
f6d8f9f
Merge pull request #39 from boostcampaitech7/36-TrainVal
Ja2Hw Sep 11, 2024
d9ebc2f
Feat/ HoDataset
hocheol0303 Sep 11, 2024
451c9d5
Feat/ runnable Train code
kkh090 Sep 11, 2024
6a92be0
Merge branch 'dev' of https://github.com/boostcampaitech7/level1-imagโ€ฆ
kkh090 Sep 11, 2024
7d2264f
Update README.md
sejongmin Sep 11, 2024
e1ea799
Fix/ Trainable Code
kkh090 Sep 12, 2024
f20d92a
Feat/ Dataset, DataLoader
hocheol0303 Sep 12, 2024
374d129
Feat/ issue28 v2
hocheol0303 Sep 12, 2024
40f9b40
Merge branch 'dev' into hocheol/issue28
hocheol0303 Sep 12, 2024
9c66328
v1
whthdbs03 Sep 12, 2024
28a039d
remove test
whthdbs03 Sep 12, 2024
9c5d3d0
nothing changed
kkh090 Sep 12, 2024
f4d7240
Merge branch 'dev' of https://github.com/boostcampaitech7/level1-imagโ€ฆ
kkh090 Sep 12, 2024
1f02f6c
hobbang taken ai_stage
hocheol0303 Sep 12, 2024
16f7106
check my name~
hocheol0303 Sep 12, 2024
a94d9f1
nothing changed
kkh090 Sep 12, 2024
81e7ba6
Feat/ data preprocessing
sejongmin Sep 12, 2024
9f05488
Merge pull request #40 from boostcampaitech7/sejongmin-patch-1
kkh090 Sep 12, 2024
099ee08
Feat/ issue28 v3
hocheol0303 Sep 12, 2024
0513076
Merge branch 'hocheol/issue28' of https://github.com/boostcampaitech7โ€ฆ
hocheol0303 Sep 12, 2024
ed026d3
Feat/ only split csv file
sejongmin Sep 12, 2024
9171acd
Add model v1
Ja2Hw Sep 12, 2024
31016a3
Add model v2
Ja2Hw Sep 12, 2024
faede43
Feat/ offline image flip augmentation
sejongmin Sep 12, 2024
298165c
Add model v3
Ja2Hw Sep 12, 2024
7c8240c
Feat/ issue28 v4
hocheol0303 Sep 12, 2024
ad24198
Feat/ eda
Sep 12, 2024
3ee8d78
Feat/ unstable build
kkh090 Sep 12, 2024
6481f85
Test/ test ํ…Œ์ŠคํŒ…
kkh090 Sep 12, 2024
cd59e3f
Feat/ .gitignore data.zip exclude
kkh090 Sep 12, 2024
72dea2f
Fix/ HoDataLoad: annotation fix
hocheol0303 Sep 13, 2024
8934030
Feat/ issue28 v5
hocheol0303 Sep 13, 2024
179fa8d
del
Ja2Hw Sep 13, 2024
7dcb2e7
Feat/r_epoch๋ฅผ Trainer์˜ parameter๋กœ ์ž…๋ ฅ
sejongmin Sep 13, 2024
049e058
Merge remote-tracking branch 'origin/dev' into yuhyang-eda
Sep 13, 2024
669a7f3
Merge pull request #52 from boostcampaitech7/Ja2HwTest
Ja2Hw Sep 13, 2024
e61e17d
Merge pull request #41 from boostcampaitech7/hocheol/issue28
hocheol0303 Sep 13, 2024
75ae8aa
Test/ test ํ…Œ์ŠคํŒ…
kkh090 Sep 13, 2024
b880c2f
Feat/ Hodataloader added
kkh090 Sep 13, 2024
1b03b7f
Merge pull request #42 from boostcampaitech7/feat/preprocessing
sejongmin Sep 13, 2024
6546e74
Merge pull request #47 from boostcampaitech7/kkh090/issue46
kkh090 Sep 13, 2024
d5cdbe4
Merge branch 'dev' into sejongmin/issue43
sejongmin Sep 13, 2024
5b07959
Merge pull request #53 from boostcampaitech7/sejongmin/issue43
sejongmin Sep 13, 2024
d7bee5c
Merge pull request #56 from boostcampaitech7/yuhyang-eda
hyanghyanging Sep 13, 2024
23bfc87
refactor/nameChange
whthdbs03 Sep 13, 2024
1cf2117
Merge branch 'refactor/nameChange' into dev
whthdbs03 Sep 13, 2024
4a8c780
Merge pull request #57 from boostcampaitech7/dev
whthdbs03 Sep 13, 2024
2fa19e2
Feat/ Dataset, DataLoader real test complete
hocheol0303 Sep 14, 2024
36fa2ad
wandb_annotation_disable
hocheol0303 Sep 14, 2024
09d0402
Feat/ ํ•˜์ดํผํŒŒ๋ผ๋ฏธํ„ฐ ๋ชฉ๋ก ์ถ”๊ฐ€
kkh090 Sep 22, 2024
d6e7c4d
Fixes Feat/ ํ•˜์ดํผํŒŒ๋ผ๋ฏธํ„ฐ ๋ชฉ๋ก ์ถ”๊ฐ€ #13 + ๋™์ž‘ ํ™•์ธ
kkh090 Sep 22, 2024
4994b0e
Merge remote-tracking branch 'origin/dev' into feat/54-optimizers
whthdbs03 Sep 22, 2024
ae87b34
Merge pull request #60 from boostcampaitech7/kkh090/issue13
kkh090 Sep 23, 2024
b6763da
Feat/ ์ƒˆ๋กœ์šด ๋ชจ๋ธ์— ๋Œ€๋น„
sejongmin Sep 23, 2024
5beb01d
Feat/ added test.sh
kkh090 Sep 23, 2024
f02cf44
Merge remote-tracking branch 'origin/dev' into feat/54-optimizers
whthdbs03 Sep 23, 2024
b698d08
Feat/ added test args.parser and test.sh
kkh090 Sep 23, 2024
d039298
Merge pull request #61 from boostcampaitech7/kkh090/feat
kkh090 Sep 23, 2024
3b92546
Feat/ eda to csv
sejongmin Sep 23, 2024
6c1c6cc
Feat/ ์ƒˆ๋กœ์šด ๋ชจ๋ธ์— ๋Œ€๋น„
sejongmin Sep 23, 2024
cde821c
Feat/ ํ•™์Šต ์žฌ๊ฐœ ์ถ”๊ฐ€
kkh090 Sep 23, 2024
dffbe41
Feat/ early stopping ์ ์šฉ
kkh090 Sep 23, 2024
d30a02c
Merge pull request #63 from boostcampaitech7/kkh090/issue49
kkh090 Sep 23, 2024
721d213
Merge pull request #62 from boostcampaitech7/sejongmin/issue58
sejongmin Sep 23, 2024
d151639
Fix/ ์ด๋ฏธ์ง€ ์‚ฌ์ด์ฆˆ ํŒŒ๋ผ๋ฏธํ„ฐ ์ถ”๊ฐ€ + ์ž์ž˜ํ•œ ๋ฒ„๊ทธ ์ˆ˜์ •
kkh090 Sep 23, 2024
d5e712f
Feat/ ReduceLROnPlateau ์ถ”๊ฐ€, timm ๋ชจ๋ธ ์ ์šฉ ํŽธ๋ฆฌํ™”
kkh090 Sep 23, 2024
d8736c8
Feat/optimizer ์ถ”๊ฐ€
whthdbs03 Sep 23, 2024
013c42a
Merge branch 'dev' into feat/54-optimizers
whthdbs03 Sep 23, 2024
6038f07
style/ train.sh ์„ค๋ช… ์ถ”๊ฐ€
kkh090 Sep 23, 2024
77d3e70
Fix/ test.py ์ˆ˜์ • ๋ฐ augmentation.py์— fill_value ์ œ๊ฑฐ
kkh090 Sep 23, 2024
f51b7ca
Feat/ timm-efficientnet_b0๋กœ ๊ณ ์ •
whthdbs03 Sep 23, 2024
429b72b
Fix/ trainer.py filepath ๊ด€๋ จ ์ถ”๊ฐ€
kkh090 Sep 23, 2024
52f856f
Fix/ augmentation.py ์ˆ˜์ •
kkh090 Sep 23, 2024
1a644fa
Fix/ test.py => augment -> height width ์ถ”๊ฐ€
kkh090 Sep 23, 2024
6e91973
Feat/ checkpoints ํ˜„์žฌ์‹œ๊ฐ„ ํด๋”์— ์ €์žฅ ๊ธฐ๋Šฅ ์ถ”๊ฐ€
kkh090 Sep 23, 2024
c342eb7
experiment11
whthdbs03 Sep 23, 2024
b900e0e
Feat/ ํ•™์Šต ์‹œ config txt ํŒŒ์ผ ์ƒ์„ฑ ์ถ”๊ฐ€
kkh090 Sep 23, 2024
63a4961
Merge remote-tracking branch 'origin/dev' into feat/54-optimizers
whthdbs03 Sep 23, 2024
a8f86a8
experiment2
whthdbs03 Sep 23, 2024
89cbdd0
Feat/ train.sh augmentation ํŒŒ๋ผ๋ฏธํ„ฐ ์ถ”๊ฐ€
kkh090 Sep 23, 2024
3bfec27
experiment4
whthdbs03 Sep 23, 2024
95db4b8
Feat/ ratio adjust added in augmentation
kkh090 Sep 23, 2024
8a93f39
Merge branch 'dev' into feat/54-optimizers
whthdbs03 Sep 24, 2024
74cf28a
Fix/ early stopping ๋กœ์ง ์ˆ˜์ •
kkh090 Sep 24, 2024
e91edb2
Feat/ checkpoint ์ด๋ฆ„์— ์ •๋ณด ํฌํ•จ
kkh090 Sep 24, 2024
74f911a
Merge pull request #67 from boostcampaitech7/kkh090/checkpoint_name
kkh090 Sep 24, 2024
e42051b
plus
Ja2Hw Sep 24, 2024
57c2071
args.py ์ถ”๊ฐ€ ๋ฐ train.py, test.py์—์„œ args์ œ๊ฑฐ
kkh090 Sep 24, 2024
2536637
Fix/ train.sh weight_path -> checkpoint_path
kkh090 Sep 24, 2024
b029837
Merge pull request #68 from boostcampaitech7/kkh090/enhance_args
kkh090 Sep 24, 2024
9873e81
add config
Ja2Hw Sep 24, 2024
12af3f9
Feat/ add albumentation augmentation
sejongmin Sep 24, 2024
07de9c4
Feat/ progress bar on/off ์ถ”๊ฐ€
kkh090 Sep 24, 2024
60e1781
Fix/ simple verbose fix
kkh090 Sep 24, 2024
f2cb108
Fix/ nohup log ์ถœ๋ ฅ ๋ฌธ์ œ ํ•ด๊ฒฐ
kkh090 Sep 24, 2024
99d79b5
Merge branch 'kkh090/verbose' into dev
kkh090 Sep 24, 2024
eac4fcf
add config v2
Ja2Hw Sep 24, 2024
f90e9bd
Merge branch 'dev' into wandb-plus
Ja2Hw Sep 24, 2024
c02aa85
Merge branch 'dev' into feat/54-optimizers
whthdbs03 Sep 24, 2024
db6e602
Merge pull request #70 from boostcampaitech7/wandb-plus
Ja2Hw Sep 24, 2024
9a2bd2e
experiment16
whthdbs03 Sep 24, 2024
2dda5b6
Feat/ add gradcam code
sejongmin Sep 24, 2024
98066f3
Merge pull request #69 from boostcampaitech7/sejongmin/aug
sejongmin Sep 24, 2024
7aa8345
Fix/ aug ์ˆœ์„œ ๋ณ€๊ฒฝ rot->drp => drp->rot
kkh090 Sep 24, 2024
944b789
Merge remote-tracking branch 'origin/dev' into feat/54-optimizers
whthdbs03 Sep 24, 2024
41e9a15
experiment17
whthdbs03 Sep 24, 2024
cb64515
Fix/ arg ์ ์šฉ ์ˆœ์„œ ๋ณ€๊ฒฝ
kkh090 Sep 25, 2024
cdc998e
Merge pull request #73 from boostcampaitech7/feat/54-optimizers
whthdbs03 Sep 25, 2024
075f594
feat/ ์Šค์ผ€์ค„๋Ÿฌ ์ถ”๊ฐ€
whthdbs03 Sep 25, 2024
0cceb44
experiment24
whthdbs03 Sep 25, 2024
f4120d1
Merge pull request #75 from boostcampaitech7/feat/65-scheduler
whthdbs03 Sep 25, 2024
64d673e
exp/ resnext101_32x_32d
kkh090 Sep 26, 2024
daf2762
Feat Style/ ์ฝ”๋“œ ์ •๋ฆฌ ๋ฐ scheduler ์ถ”๊ฐ€
kkh090 Sep 26, 2024
42584db
Style/ temp.py -> erase_dot_files.py๋กœ ๋ณ€๊ฒฝ
kkh090 Sep 26, 2024
4a031ac
Update README.md
sejongmin Sep 26, 2024
2fbb181
Update README.md
hocheol0303 Sep 29, 2024
9601000
Update README.md
sejongmin Sep 29, 2024
47e1f17
Update README.md
kkh090 Sep 29, 2024
1bce953
Update README.md
kkh090 Sep 29, 2024
6b383cf
Update README.md
kkh090 Sep 29, 2024
faed73c
Update README.md
sejongmin Jan 12, 2025
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
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/-title----body.md

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. ํŒ€ ํ˜‘์—…์„ ์œ„ํ•œ ํ…œํ”Œ๋ฆฟ ๋„ˆ๋ฌด ์ข‹์Šต๋‹ˆ๋‹ค.

Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: "title/ body"
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

### Issue ํƒ€์ž…(ํ•˜๋‚˜ ์ด์ƒ์˜ Issue ํƒ€์ž…์„ ์„ ํƒํ•ด์ฃผ์„ธ์š”)
- [ ] Feat : ์ƒˆ๋กœ์šด ๊ธฐ๋Šฅ ์ถ”๊ฐ€
- [ ] Remove : ํŒŒ์ผ ๋ฐ ๊ธฐ๋Šฅ ์‚ญ์ œ
- [ ] Test : ํ…Œ์ŠคํŠธ ์ฝ”๋“œ ์ถ”๊ฐ€
- [ ] Fix : ๋ฒ„๊ทธ ์ˆ˜์ •
- [ ] Docs : ๋ฌธ์„œ ์ˆ˜์ •
- [ ] Refactor : ์ฝ”๋“œ ๋ฆฌํŽ™ํ† ๋ง
- [ ] Style : ์ฝ”๋“œ ํฌ๋งทํŒ…, ์„ธ๋ฏธ์ฝœ๋ก  ๋ˆ„๋ฝ, ์ฝ”๋“œ ๋ณ€๊ฒฝ์ด ์—†๋Š” ๊ฒฝ์šฐ, ์ฃผ์„ ์ถ”๊ฐ€

### ์ƒ์„ธ ๋‚ด์šฉ
- [ ] ex) Github ์†Œ์…œ ๋กœ๊ทธ์ธ ๊ธฐ๋Šฅ์ด ํ•„์š”ํ•ฉ๋‹ˆ๋‹ค.

### ์ถ”๊ฐ€์‚ฌํ•ญ
17 changes: 17 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
### PR ํƒ€์ž…(ํ•˜๋‚˜ ์ด์ƒ์˜ PR ํƒ€์ž…์„ ์„ ํƒํ•ด์ฃผ์„ธ์š”)
- [ ] Feat : ์ƒˆ๋กœ์šด ๊ธฐ๋Šฅ ์ถ”๊ฐ€
- [ ] Remove : ํŒŒ์ผ ๋ฐ ๊ธฐ๋Šฅ ์‚ญ์ œ
- [ ] Test : ํ…Œ์ŠคํŠธ ์ฝ”๋“œ ์ถ”๊ฐ€
- [ ] Fix : ๋ฒ„๊ทธ ์ˆ˜์ •
- [ ] Docs : ๋ฌธ์„œ ์ˆ˜์ •
- [ ] Refactor : ์ฝ”๋“œ ๋ฆฌํŽ™ํ† ๋ง
- [ ] Style : ์ฝ”๋“œ ํฌ๋งทํŒ…, ์„ธ๋ฏธ์ฝœ๋ก  ๋ˆ„๋ฝ, ์ฝ”๋“œ ๋ณ€๊ฒฝ์ด ์—†๋Š” ๊ฒฝ์šฐ, ์ฃผ์„ ์ถ”๊ฐ€

### ๋ฐ˜์˜ ๋ธŒ๋žœ์น˜
ex) feat/login -> dev

### ๋ณ€๊ฒฝ ์‚ฌํ•ญ
ex) ๋กœ๊ทธ์ธ ์‹œ, ๊ตฌ๊ธ€ ์†Œ์…œ ๋กœ๊ทธ์ธ ๊ธฐ๋Šฅ์„ ์ถ”๊ฐ€ํ–ˆ์Šต๋‹ˆ๋‹ค.

### ํ…Œ์ŠคํŠธ ๊ฒฐ๊ณผ
ex) ๋ฒ ์ด์Šค ๋ธŒ๋žœ์น˜์— ํฌํ•จ๋˜๊ธฐ ์œ„ํ•œ ์ฝ”๋“œ๋Š” ๋ชจ๋‘ ์ •์ƒ์ ์œผ๋กœ ๋™์ž‘ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ๊ฒฐ๊ณผ๋ฌผ์— ๋Œ€ํ•œ ์Šคํฌ๋ฆฐ์ƒท, GIF, ํ˜น์€ ๋ผ์ด๋ธŒ ๋ฐ๋ชจ๊ฐ€ ๊ฐ€๋Šฅํ•˜๋„๋ก ์ƒ˜ํ”ŒAPI๋ฅผ ์ฒจ๋ถ€ํ•  ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค.
132 changes: 132 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
/checkpoints
/wandb
/data
baseline_code.ipynb
*.csv
gradcam/
augmented_images/
logs/

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# dotenv
.env

# virtualenv
.venv
venv/
ENV/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/

# input data, saved log, checkpoints
data/
input/
saved/
datasets/
/data.tar.gz
._data

# editor, os cache directory
.vscode/
.idea/
__MACOSX/

# data.zip
data.tar.gz

nohup.out

*.csv

config.txt
196 changes: 196 additions & 0 deletions README.md

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. ๋ฆฌ๋“œ๋ฏธ ๋‚ด์šฉ ์ •๋ง ์ข‹์Šต๋‹ˆ๋‹ค.
  2. ํ™˜๊ฒฝ ๋ฐ ๋ฒ„์ „์— PyTorch๊ฐ€ ์ถ”๊ฐ€๋˜๋ฉด ์ข‹๊ฒ ์Šต๋‹ˆ๋‹ค.

Original file line number Diff line number Diff line change
@@ -0,0 +1,196 @@
![imagenet-sketch](https://github.com/user-attachments/assets/a6307765-05bc-4cc7-9cd6-c4b6d70e9427)

<br/>
<br/>

# 1. Project Overview (ํ”„๋กœ์ ํŠธ ๊ฐœ์š”)
- ํ”„๋กœ์ ํŠธ ์ด๋ฆ„: Sketch ์ด๋ฏธ์ง€ ๋ฐ์ดํ„ฐ ๋ถ„๋ฅ˜
- ํ”„๋กœ์ ํŠธ ์„ค๋ช…: Sketch๊ธฐ๋ฐ˜ ์ด๋ฏธ์ง€๋ฅผ ๋ถ„๋ฅ˜ํ•˜์—ฌ ์–ด๋–ค ๊ฐ์ฒด๋ฅผ ๋‚˜ํƒ€๋‚ด๋Š”์ง€ ์˜ˆ์ธกํ•˜๋Š” ๋Œ€ํšŒ

<br/>
<br/>

# Team Members (ํŒ€์› ๋ฐ ํŒ€ ์†Œ๊ฐœ)
| ๊ณฝ๊ธฐํ›ˆ | ๊น€์žฌํ™˜ | ์–‘ํ˜ธ์ฒ  | ์˜ค์ข…๋ฏผ | ์กฐ์†Œ์œค | ํ™์œ ํ–ฅ |
|:------:|:------:|:------:|:------:|:------:|:------:|
| <img src="https://github.com/user-attachments/assets/fb56b1d0-9c5c-49c0-a274-f5b7ff7ab8b1" alt="๊ณฝ๊ธฐํ›ˆ" width="150"> | <img src="https://github.com/user-attachments/assets/28a7109b-4959-473c-a6e4-5ee736370ab6" alt="๊น€์žฌํ™˜" width="150"> | <img src="https://github.com/user-attachments/assets/9007ffff-765c-4ffa-80bf-31668fe199ba" alt="์–‘ํ˜ธ์ฒ " width="150"> | <img src="https://github.com/user-attachments/assets/8760f7bd-10d8-4397-952b-f1ca562b90d4" alt="์˜ค์ข…๋ฏผ" width="150"> | <img src="https://github.com/user-attachments/assets/22baca4a-189a-4bc3-ab1c-8f6256637a16" alt="์กฐ์†Œ์œค" width="150"> | <img src="https://github.com/user-attachments/assets/91f96db7-3137-42d2-9175-8a55f1493b31" alt="ํ™์œ ํ–ฅ" width="150"> |
| T7102 | T7128 | T7204 | T7207 | T7252 | T7267 |
| [GitHub](https://github.com/kkh090) | [GitHub](https://github.com/Ja2Hw) | [GitHub](https://github.com/hocheol0303) | [GitHub](https://github.com/sejongmin) | [GitHub](https://github.com/whthdbs03) | [GitHub](https://github.com/hyanghyanging) |

<br/>
<br/>

# ๊ฐœ๋ฐœ ํ™˜๊ฒฝ ๋ฐ ๋ฒ„์ ผ
```
python==3.10.14
pandas==2.1.4
matplotlib==3.8.4
seaborn==0.13.2
Pillow==10.3.0
numpy==1.26.3
timm==0.9.16
albumentations==1.4.4
tqdm==4.66.1
scikit-learn==1.4.2
opencv-python==4.9.0.80
```

<br/>
<br/>

# ํ•™์Šต ์ฝ”๋“œ ์‹คํ–‰
```
sh train.sh
```
๋ชจ๋ธ ํ•™์Šต์— ํ•„์š”ํ•œ ํ•˜์ดํผํŒŒ๋ผ๋ฏธํ„ฐ๋Š” train.sh์™€ args.py์—์„œ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

<br/>
<br/>

# ์ถ”๋ก  ์ฝ”๋“œ ์‹คํ–‰
```
sh test.sh
```
๋ชจ๋ธ ์ถ”๋ก ์— ํ•„์š”ํ•œ ํ•˜์ดํผํŒŒ๋ผ๋ฏธํ„ฐ๋Š” test.sh์™€ args.py์—์„œ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

<br/>
<br/>

# Project Structure (ํ”„๋กœ์ ํŠธ ๊ตฌ์กฐ)
```plaintext
๐Ÿ“ฆlevel1-imageclassification-cv-16
โ”ฃ ๐Ÿ“‚.github
โ”ƒ โ”ฃ ๐Ÿ“‚ISSUE_TEMPLATE
โ”ƒ โ”ƒ โ”— ๐Ÿ“œ-title----body.md
โ”ƒ โ”ฃ ๐Ÿ“œ.keep
โ”ƒ โ”— ๐Ÿ“œpull_request_template.md
โ”ฃ ๐Ÿ“‚model
โ”ƒ โ”ฃ ๐Ÿ“œcnn.py
โ”ƒ โ”ฃ ๐Ÿ“œmlp.py
โ”ƒ โ”ฃ ๐Ÿ“œmodel_selection.py
โ”ƒ โ”ฃ ๐Ÿ“œresnet18.py
โ”ƒ โ”ฃ ๐Ÿ“œtimm.py
โ”ƒ โ”— ๐Ÿ“œtorchvision_model.py
โ”ฃ ๐Ÿ“‚util
โ”ƒ โ”ฃ ๐Ÿ“œaugmentation.py
โ”ƒ โ”ฃ ๐Ÿ“œcheckpoints.py
โ”ƒ โ”ฃ ๐Ÿ“œdata.py
โ”ƒ โ”ฃ ๐Ÿ“œlosses.py
โ”ƒ โ”ฃ ๐Ÿ“œmetrics.py
โ”ƒ โ”ฃ ๐Ÿ“œoptimizers.py
โ”ƒ โ”— ๐Ÿ“œschedulers.py
โ”ฃ ๐Ÿ“œ.gitignore
โ”ฃ ๐Ÿ“œREADME.md
โ”ฃ ๐Ÿ“œargs.py
โ”ฃ ๐Ÿ“œeda.ipynb
โ”ฃ ๐Ÿ“œeda.py
โ”ฃ ๐Ÿ“œerase_dot_files.py
โ”ฃ ๐Ÿ“œgradcam.py
โ”ฃ ๐Ÿ“œimage_augmentation.py
โ”ฃ ๐Ÿ“œseparate.py
โ”ฃ ๐Ÿ“œtest.py
โ”ฃ ๐Ÿ“œtest.sh
โ”ฃ ๐Ÿ“œtrain.ipynb
โ”ฃ ๐Ÿ“œtrain.py
โ”ฃ ๐Ÿ“œtrain.sh
โ”— ๐Ÿ“œtrainer.py
```

<br/>

### train.sh
- train.py ํŒŒ์ผ์„ ์‹คํ–‰์‹œํ‚ค๋ฉด์„œ ํ•™์Šต์— ํ•„์š”ํ•œ ์ธ์ž๋ฅผ ์ž…๋ ฅํ•˜๋Š” ์‰˜ ์Šคํฌ๋ฆฝํŠธ ํŒŒ์ผ. ํ•™์Šต ์žฌ๊ฐœ ์‹œ ์ €์žฅ ์‹œ์ ๊ณผ ๋™์ผํ•œ ํ•˜์ดํผํŒŒ๋ผ๋ฏธํ„ฐ๋ฅผ ์‚ฌ์šฉ
```
--mode: train ๋ชจ๋“œ, test ๋ชจ๋“œ ์žˆ์Œ. train.sh์—์„  train ๊ณ ์ •
--device: cpu, gpu ์„ ํƒ
--data_root: data ๋””๋ ‰ํ„ฐ๋ฆฌ ๊ณ ์ •
--csv_path: train(+validation) ๋ฐ์ดํ„ฐ์…‹ ํŒŒ์ผ ๊ฒฝ๋กœ ์„ค์ •
--val_csv: ์‚ฌ์šฉx
--height, --width: ํ•™์Šต ๋ฐ์ดํ„ฐ์…‹์˜ Resize ํฌ๊ธฐ ๊ฒฐ์ •
--num_classes: class ๊ฐœ์ˆ˜ ์ž…๋ ฅ
--auto_split: ์‚ฌ์šฉx
--split_seed: train_test_split์˜ random state seed ๊ฐ’ ์„ค์ •
--stratify: train_test_split์˜ ๋น„์œจ์„ ๊ณ ์ •ํ•˜๋Š” ๊ธฐ์ค€์ด ๋  column ๊ฒฐ์ •
--model: ์‚ฌ์šฉํ•  ๋ชจ๋ธ๋ช… ๊ธฐ์ž…. timm์˜ ๊ฒฝ์šฐ timm-model_name ํ˜•ํƒœ๋กœ ์ž…๋ ฅํ•˜๋ฉด timm ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ์˜ ๋ชจ๋ธ์„ ๋ถˆ๋Ÿฌ์˜ด
--lr: ํ•™์Šต๋ฅ  ์„ค์ •
--lr_scheduler: ์Šค์ผ€์ค„๋Ÿฌ ์„ ํƒ
--lr_scheduler_gamma: stepLR, RduceLROnPlateau์˜ learning rate decay ๊ฐ์†Œ ๋น„์œจ์„ ์ง€์ •ํ•˜๋Š” ํŒŒ๋ผ๋ฏธํ„ฐ
--lr_scheduler_epochs_per_decay: stepLR์˜ lr ๊ฐ์†Œ ์ฃผ๊ธฐ ์„ค์ •
--batch: ๋ฐฐ์น˜ ์‚ฌ์ด์ฆˆ
--loss: loss function ์„ ํƒ
--optim: ์˜ตํ‹ฐ๋งˆ์ด์ € ์„ ํƒ
--r_epochs: train set๊ณผ validation set์˜ ํฌ๊ธฐ๋ฅผ ๋ฐ”๊พธ๊ธฐ ์‹œ์ž‘ํ•˜๋Š” ์—ํฌํฌ ์„ค์ • (๋’ค์—์„œ n๋ฒˆ์งธ๋ถ€ํ„ฐ ์‹œ์ž‘)
--seed: random๊ฐ’์˜ ๊ธฐ์ค€ ์„ค์ •
--transform: ์‚ฌ์šฉํ•  augmentation ํด๋ž˜์Šค(๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ๊ธฐ์ค€์œผ๋กœ ๋‚˜๋ˆ”)๋ฅผ ์„ ํƒ
--augmentations: ์‚ฌ์šฉํ•  augmentation ๊ธฐ๋ฒ•์„ ์„ค์ •. "_"๋กœ splitํ•˜์—ฌ string ๋ถ„๋ฆฌ
--adjust_ratio: ์ด๋ฏธ์ง€์˜ ์ข…ํšก๋น„๋ฅผ 1:1๋กœ ๋งž์ถค
--eraly_stopping: ๊ฐœ์„ ์ด ์žˆ๋Š”์ง€ ๊ฐ์‹œํ•  epoch ์ˆ˜ ์„ค์ •. ์ด epoch๋™์•ˆ validation accuracy์˜ ๊ฐœ์„ ์ด ์—†์œผ๋ฉด ํ•™์Šต ์ค‘๋‹จ
--verbose: tqdm ์‚ฌ์šฉ ์—ฌ๋ถ€ ๊ฒฐ์ •. ์ฃผ์„ ํ’€๋ฉด True, ์•„๋‹ˆ๋ฉด False
--resume, --checkpoint_path: ์ฒดํฌํฌ์ธํŠธ์— ์ €์žฅ๋œ ๋ชจ๋ธ ๋ถˆ๋Ÿฌ์˜ค๊ธฐ ์—ฌ๋ถ€, ์ฒดํฌํฌ์ธํŠธ.pt ํŒŒ์ผ ๊ฒฝ๋กœ. ์„ธํŠธ๋กœ ์‚ฌ์šฉ
```
### train.py
- trainer.py์˜ trainer ํด๋ž˜์Šค๋ฅผ ๋ถˆ๋Ÿฌ์™€์„œ ํ•™์Šต ์‹œํ‚ด

### test.sh, test.py
- test.sh์—์„œ ์ธ์ž๋ฅผ ๋ฐ›์•„ test.py ํŒŒ์ผ์„ ์‹คํ–‰ํ•ด test data์˜ ์˜ˆ์ธก ๊ฒฐ๊ณผ ์ €์žฅ. train.sh์™€ ๋น„์Šท

### trainer.py
- ํ•™์Šต ๋ชจ๋“ˆ
```
-create_config_txt : train.sh ํ˜ธ์ถœ ๋‹น์‹œ ๋‚ด์šฉ์„ checkpoint ํด๋”์— ํ•จ๊ป˜ ์ €์žฅํ•˜์—ฌ ์–ด๋–ค ํ•˜์ดํผํŒŒ๋ผ๋ฏธํ„ฐ๋ฅผ ์‚ฌ์šฉํ–ˆ๋Š”์ง€ ๊ธฐ๋ก
-save_checkpoint_tmp : ์ด์ „ fold(or epoch)์™€ ๋น„๊ตํ•˜์—ฌ validation accuracy๊ฐ€ 1% ์ด์ƒ ๊ฐœ์„ ๋˜๋ฉด checkpoint ์ €์žฅ
-final_save_model : ์ด์ „ accuracy์™€ ๊ด€๊ณ„ ์—†์ด ๋งˆ์ง€๋ง‰ ๋ชจ๋ธ ์ €์žฅ
-train_epoch : ๋ชจ๋ธํ•™์Šต 1 epoch ์ˆ˜ํ–‰
-validate : ๋ชจ๋ธ ๊ฒ€์ฆ ์ˆ˜ํ–‰
-train : epoch๋งŒํผ ํ•™์Šตํ•˜๋Š” ํ•จ์ˆ˜. train.sh๋ฅผ ํ†ตํ•ด ์ „๋‹ฌ๋ฐ›์€ resome ํŒŒ๋ผ๋ฏธํ„ฐ๊ฐ€ true์ด๋ฉด self.load_settings ํ•จ์ˆ˜๋กœ checkpoint ๋ชจ๋ธ์„ ๋ถˆ๋Ÿฌ์˜ด
-k_fold_train : train ํ•จ์ˆ˜์— K-Fold Cross Validation์„ ์ ์šฉํ•จ
-load_settings ์ฒดํฌํฌ์ธํŠธ ์ €์žฅ ์‹œ์ ์˜ ๋ชจ๋ธ๊ณผ optimizer, scheduler ๋“ฑ ํ•™์Šต์— ํ•„์š”ํ•œ ์ •๋ณด๋ฅผ ๋ถˆ๋Ÿฌ์˜ด
```
### eda.py
- ๋ชจ๋“  ๋ฐ์ดํ„ฐ์˜ ๋ฉ”ํƒ€๋ฐ์ดํ„ฐ๋ฅผ ์ถ”์ถœํ•˜์—ฌ csvํŒŒ์ผ๋กœ ๋งŒ๋“œ๋Š” ํŒŒ์ผ

### args.py
- train.sh, test.sh์—์„œ ๋ฐ›์•„์˜จ ์ธ์ž๋ฅผ ํŒŒ์ด์ฌ์—์„œ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ๋ณ€์ˆ˜๋กœ ๋ณ€ํ™˜ํ•˜๋Š” ๋ชจ๋“ˆ

### gradcam.py
- Grad-CAM์„ ํ†ตํ•ด Heatmap์„ ๋ฐ˜ํ™˜ํ•˜๋Š” ํ•จ์ˆ˜๋ฅผ ํฌํ•จํ•˜๋Š” ํŒŒ์ผ

### image_augmentation.py
- offline augmentationํ•˜๋Š” ํŒŒ์ผ. ์ข…ํšก๋น„๋ฅผ ๋งž์ถ”๊ธฐ ์œ„ํ•ด ํฐ ๋ฐฐ๊ฒฝ ์ถ”๊ฐ€ํ•˜๋Š” ์ฝ”๋“œ์™€ flip์„ ์ ์šฉํ•˜๋Š” ์ฝ”๋“œ๊ฐ€ ์žˆ๋‹ค. ์ถ”๊ฐ€๋œ ์ด๋ฏธ์ง€๋ฅผ ํฌํ•จํ•œ ./data/train1.csv ํŒŒ์ผ์„ ์ƒ์„ฑ

### separate.py
- ๋ฐ์ดํ„ฐ์…‹์„ ๋ฌผ๋ฆฌ์ ์œผ๋กœ ๋ถ„๋ฆฌํ•˜๋Š” ํŒŒ์ผ

### util/augmentation.py
- augmentation ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ๊ด€๋ฆฌํ•˜๋Š” ๋ชจ๋“ˆ. Albumentation์„ ์‚ฌ์šฉ
```
-AlbumentationsTransforms ํด๋ž˜์Šค: train.sh์—์„œ ๋ฐ›๋Š” augmentations ์ธ์ž๋ฅผ ๊ฐ€์ง€๊ณ  ํด๋ž˜์Šค์˜ ์ƒ์„ฑ์ž๊ฐ€ full_aug_list๋ฅผ ๋ณด๊ณ  aug_list์— ์ถ”๊ฐ€ํ•˜์—ฌ ์‚ฌ์šฉํ•  ์ฆ๊ฐ• ๊ธฐ๋ฒ•์„ ์„ ํƒ
-TransformSelector: train.sh์—์„œ ๋ฐ›์€ transform ์ธ์ž๋กœ ์–ด๋–ค ์ฆ๊ฐ• ํด๋ž˜์Šค๋ฅผ ์‚ฌ์šฉํ• ์ง€ ์„ ํƒ
```
### util/checkpoints.py
- ์ฒดํฌํฌ์ธํŠธ๋ฅผ ์ €์žฅ/๋ถˆ๋Ÿฌ์˜ค๊ธฐ ํ•˜๋Š” ๋ชจ๋“ˆ

### util/data.py
- Dataset, DataLoader๋ฅผ ์žฌ์ •์˜ํ•˜๋Š” ๋ชจ๋“ˆ
```
-CustomDataset ํด๋ž˜์Šค: ๋Œ€ํšŒ๋ฅผ ์œ„ํ•ด ์ œ๊ณต๋ฐ›์€ ๋ฐ์ดํ„ฐ์…‹์— ๋งž๊ฒŒ ๋ฐ์ดํ„ฐ๋ฅผ ๋ถˆ๋Ÿฌ์˜ค๊ฒŒํ•˜๋Š” Dataset
-HoDataset, HoDataLoader ํด๋ž˜์Šค: K-Fold cross validation์„ ์œ„ํ•œ Dataset, DataLoader
```
### util/losses.py
- loss function์„ ๊ฐ€์ง

### util/metrics.py
- f1 score์„ ๊ณ„์‚ฐํ•˜๋Š” ๋ชจ๋“ˆ

### util/optimizers.py
- train.sh์˜ optim ์ธ์ž๋ฅผ ๋ฐ›์•„์„œ optimizer๋ฅผ ์„ ํƒํ•  ์ˆ˜ ์žˆ๊ฒŒ ๋งคํ•‘ํ•˜๋Š” ๋ชจ๋“ˆ

### util/schedulers.py
- train.sh์˜ lr_scheduler ์ธ์ž๋ฅผ ๋ฐ›์•„์„œ learning rate scheduler๋ฅผ ์„ ํƒํ•  ์ˆ˜ ์žˆ๊ฒŒ ๋งคํ•‘ํ•˜๋Š” ๋ชจ๋“ˆ

### model/
- model_selection ํŒŒ์ผ์€ ๋‹ค๋ฅธ ๋ชจ๋ธ์„ ๋ถˆ๋Ÿฌ์˜ค๋Š” ํŒŒ์ผ. timm, torchvision_model์€ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ์‰ฝ๊ฒŒ ๋ถˆ๋Ÿฌ์˜ค๊ธฐ ์œ„ํ•œ ๋ชจ๋“ˆ

## ๐Ÿ”— Reference

### [๐Ÿ“Ž Wrapup Report](https://docs.google.com/document/d/1iAlyNw4r-V-5Q_FQlzzRdhlUt59wazMfl9hgjmcYV4o/edit?usp=sharing)
Loading