-
Notifications
You must be signed in to change notification settings - Fork 2
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
github-classroom
wants to merge
188
commits into
feedback
Choose a base branch
from
main
base: feedback
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Feedback #1
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] 74a91a8
cv16 baseline
kkh090 7162e77
Update -title----body.md
whthdbs03 ea88543
Update -title----body.md
whthdbs03 a6c6c21
Update -title----body.md
whthdbs03 1a4b2c8
optim v1
Ja2Hw 385b452
Merge pull request #16 from boostcampaitech7/opti
kkh090 654b702
Create README.md
Ja2Hw 3db71b3
๋ฐ์ดํฐ ๋ถ๋ฌ์ค๊ธฐ ํฉ์ฒด ํ์ to CustomDataset
hocheol0303 3d80017
naive_traindata_loader
hocheol0303 6f269f2
fix/ ignore data folder
kkh090 033b0ee
Feat/ CustomDataset ๋ฐ์ดํฐ์
์ ๋ง๊ฒ ์์
kkh090 3f4d397
Feat/ ์ํซ์ธ์ฝ๋ฉ
kkh090 4a7c200
Feat/ EDA ํ์ผ ์์ฑ
hyanghyanging 787ad01
Merge branch 'Development'
kkh090 c026e44
add_annotation
hocheol0303 64b459c
Feat/ ๋ชจ๋ธ ์ ํ ํด๋์ค
sejongmin 180d6b6
merge with kkh090/issue6 into hocheol/dataloader
kkh090 b6bfe86
print_image_tmp
hocheol0303 7a34d5c
print_image_tmp2
hocheol0303 6fc817c
Merge branch 'hocheol/tmp' into hocheol/dataloader
hocheol0303 e778748
wandb v1
Ja2Hw 01c0298
Style/ ๋ฉํ ๋ง ์ฃผ์ ์ถ๊ฐ
kkh090 82538e0
Merge branch 'hocheol/dataloader' into Development
kkh090 ac6eb7f
Merge pull request #24 from boostcampaitech7/sejongmin/issue10
kkh090 65212a8
Feat/ ์ถ๋ก ์ฝ๋ ์์ฑํ๊ธฐ
sejongmin c42dcc4
Merge branch 'Development' into 8#Wandb
kkh090 7d07ee7
Merge pull request #25 from boostcampaitech7/8#Wandb
kkh090 1ecb85c
Merge remote-tracking branch 'origin/8#Wandb' into Development
kkh090 90b631b
Merge branch 'Development' of https://github.com/boostcampaitech7/levโฆ
kkh090 6187132
Merge pull request #26 from boostcampaitech7/sejongmin/issue15
kkh090 bf5ca9a
Merge branch 'Development'
kkh090 89a9bc7
dataloader.py:add_print_image
hocheol0303 aef0177
merge dev 0911
kkh090 528fb17
style/ files name changed
kkh090 581cfef
Merge branch 'main' into hocheol/dataloader
hocheol0303 ccf4f7a
Merge remote-tracking branch 'origin/main' into feat/12-classification
whthdbs03 7c74095
Transforms Augmentation v1
Ja2Hw 0232814
Fix/ print:len(list)==2_error_fixed
hocheol0303 a3d9a8e
Refactor/ train.ipynb => train.py ๋ณ๊ฒฝ
kkh090 50a3c42
Feat/ test.py ์ถ๋ก ์ฝ๋ ์ถ๊ฐ
kkh090 3707b55
Fix/ test.py ์ค๋ณต ์ฝ๋ ์ ๊ฑฐ
kkh090 ff06ff9
Feat/ confusion matrix ์ถ๊ฐํ๊ธฐ
hyanghyanging c851e05
edit gitignore
sejongmin 9fe9ad1
์บ์ ์ญ์
hocheol0303 c8a238a
Merge branch 'dev' into hyanghyanging/issue17
sejongmin fdd9020
Transforms Augmentation v2 - type hinting
Ja2Hw 6d2ca5d
Feat/ trainer.py ์์ฑ
whthdbs03 1caa5ba
Merge branch 'hocheol/dataloader' into dev
kkh090 e92c928
Transforms Augmentation v3 - type hinting
Ja2Hw 0479963
Merge pull request #31 from boostcampaitech7/kkh090/issue27
sejongmin 4899a0b
Refactor/ test.py ์์
kkh090 42a3a81
Feat/ confusin matrix ์๋ก ๊ณ ์นจ
hyanghyanging 93e9dcc
Transforms Augmentation v4 - type hinting
Ja2Hw ff12ce3
Merge branch 'hyanghyanging/issue17' of https://github.com/boostcampaโฆ
hyanghyanging 169a613
Merge remote-tracking branch 'origin/hyanghyanging/issue17' into dev
kkh090 e91cda7
Style/ metrics.py moved to util
kkh090 3a8862e
Merge pull request #29 from boostcampaitech7/Ja2Hw/issue7
Ja2Hw fb33bc2
Feat/ ์ฒดํฌํฌ์ธํธ ํจ์ ์์ฑ
whthdbs03 025752a
issue28/ v1
hocheol0303 8ab64fe
Merge pull request #35 from boostcampaitech7/feat/12-trainer
kkh090 54af4b1
#36 Separate v1
Ja2Hw 6c8d5ed
transformer-lower
Ja2Hw 3cb97cd
Merge pull request #38 from boostcampaitech7/transformer-lower-v1
Ja2Hw 7ec8a5c
Feat/ train test code added
kkh090 8df0275
Merge pull request #37 from boostcampaitech7/36-TrainVal
kkh090 eeb817a
#36 Seperate v2 - csv in SourceDir
Ja2Hw f6d8f9f
Merge pull request #39 from boostcampaitech7/36-TrainVal
Ja2Hw d9ebc2f
Feat/ HoDataset
hocheol0303 451c9d5
Feat/ runnable Train code
kkh090 6a92be0
Merge branch 'dev' of https://github.com/boostcampaitech7/level1-imagโฆ
kkh090 7d2264f
Update README.md
sejongmin e1ea799
Fix/ Trainable Code
kkh090 f20d92a
Feat/ Dataset, DataLoader
hocheol0303 374d129
Feat/ issue28 v2
hocheol0303 40f9b40
Merge branch 'dev' into hocheol/issue28
hocheol0303 9c66328
v1
whthdbs03 28a039d
remove test
whthdbs03 9c5d3d0
nothing changed
kkh090 f4d7240
Merge branch 'dev' of https://github.com/boostcampaitech7/level1-imagโฆ
kkh090 1f02f6c
hobbang taken ai_stage
hocheol0303 16f7106
check my name~
hocheol0303 a94d9f1
nothing changed
kkh090 81e7ba6
Feat/ data preprocessing
sejongmin 9f05488
Merge pull request #40 from boostcampaitech7/sejongmin-patch-1
kkh090 099ee08
Feat/ issue28 v3
hocheol0303 0513076
Merge branch 'hocheol/issue28' of https://github.com/boostcampaitech7โฆ
hocheol0303 ed026d3
Feat/ only split csv file
sejongmin 9171acd
Add model v1
Ja2Hw 31016a3
Add model v2
Ja2Hw faede43
Feat/ offline image flip augmentation
sejongmin 298165c
Add model v3
Ja2Hw 7c8240c
Feat/ issue28 v4
hocheol0303 ad24198
Feat/ eda
3ee8d78
Feat/ unstable build
kkh090 6481f85
Test/ test ํ
์คํ
kkh090 cd59e3f
Feat/ .gitignore data.zip exclude
kkh090 72dea2f
Fix/ HoDataLoad: annotation fix
hocheol0303 8934030
Feat/ issue28 v5
hocheol0303 179fa8d
del
Ja2Hw 7dcb2e7
Feat/r_epoch๋ฅผ Trainer์ parameter๋ก ์
๋ ฅ
sejongmin 049e058
Merge remote-tracking branch 'origin/dev' into yuhyang-eda
669a7f3
Merge pull request #52 from boostcampaitech7/Ja2HwTest
Ja2Hw e61e17d
Merge pull request #41 from boostcampaitech7/hocheol/issue28
hocheol0303 75ae8aa
Test/ test ํ
์คํ
kkh090 b880c2f
Feat/ Hodataloader added
kkh090 1b03b7f
Merge pull request #42 from boostcampaitech7/feat/preprocessing
sejongmin 6546e74
Merge pull request #47 from boostcampaitech7/kkh090/issue46
kkh090 d5cdbe4
Merge branch 'dev' into sejongmin/issue43
sejongmin 5b07959
Merge pull request #53 from boostcampaitech7/sejongmin/issue43
sejongmin d7bee5c
Merge pull request #56 from boostcampaitech7/yuhyang-eda
hyanghyanging 23bfc87
refactor/nameChange
whthdbs03 1cf2117
Merge branch 'refactor/nameChange' into dev
whthdbs03 4a8c780
Merge pull request #57 from boostcampaitech7/dev
whthdbs03 2fa19e2
Feat/ Dataset, DataLoader real test complete
hocheol0303 36fa2ad
wandb_annotation_disable
hocheol0303 09d0402
Feat/ ํ์ดํผํ๋ผ๋ฏธํฐ ๋ชฉ๋ก ์ถ๊ฐ
kkh090 d6e7c4d
Fixes Feat/ ํ์ดํผํ๋ผ๋ฏธํฐ ๋ชฉ๋ก ์ถ๊ฐ #13 + ๋์ ํ์ธ
kkh090 4994b0e
Merge remote-tracking branch 'origin/dev' into feat/54-optimizers
whthdbs03 ae87b34
Merge pull request #60 from boostcampaitech7/kkh090/issue13
kkh090 b6763da
Feat/ ์๋ก์ด ๋ชจ๋ธ์ ๋๋น
sejongmin 5beb01d
Feat/ added test.sh
kkh090 f02cf44
Merge remote-tracking branch 'origin/dev' into feat/54-optimizers
whthdbs03 b698d08
Feat/ added test args.parser and test.sh
kkh090 d039298
Merge pull request #61 from boostcampaitech7/kkh090/feat
kkh090 3b92546
Feat/ eda to csv
sejongmin 6c1c6cc
Feat/ ์๋ก์ด ๋ชจ๋ธ์ ๋๋น
sejongmin cde821c
Feat/ ํ์ต ์ฌ๊ฐ ์ถ๊ฐ
kkh090 dffbe41
Feat/ early stopping ์ ์ฉ
kkh090 d30a02c
Merge pull request #63 from boostcampaitech7/kkh090/issue49
kkh090 721d213
Merge pull request #62 from boostcampaitech7/sejongmin/issue58
sejongmin d151639
Fix/ ์ด๋ฏธ์ง ์ฌ์ด์ฆ ํ๋ผ๋ฏธํฐ ์ถ๊ฐ + ์์ํ ๋ฒ๊ทธ ์์
kkh090 d5e712f
Feat/ ReduceLROnPlateau ์ถ๊ฐ, timm ๋ชจ๋ธ ์ ์ฉ ํธ๋ฆฌํ
kkh090 d8736c8
Feat/optimizer ์ถ๊ฐ
whthdbs03 013c42a
Merge branch 'dev' into feat/54-optimizers
whthdbs03 6038f07
style/ train.sh ์ค๋ช
์ถ๊ฐ
kkh090 77d3e70
Fix/ test.py ์์ ๋ฐ augmentation.py์ fill_value ์ ๊ฑฐ
kkh090 f51b7ca
Feat/ timm-efficientnet_b0๋ก ๊ณ ์
whthdbs03 429b72b
Fix/ trainer.py filepath ๊ด๋ จ ์ถ๊ฐ
kkh090 52f856f
Fix/ augmentation.py ์์
kkh090 1a644fa
Fix/ test.py => augment -> height width ์ถ๊ฐ
kkh090 6e91973
Feat/ checkpoints ํ์ฌ์๊ฐ ํด๋์ ์ ์ฅ ๊ธฐ๋ฅ ์ถ๊ฐ
kkh090 c342eb7
experiment11
whthdbs03 b900e0e
Feat/ ํ์ต ์ config txt ํ์ผ ์์ฑ ์ถ๊ฐ
kkh090 63a4961
Merge remote-tracking branch 'origin/dev' into feat/54-optimizers
whthdbs03 a8f86a8
experiment2
whthdbs03 89cbdd0
Feat/ train.sh augmentation ํ๋ผ๋ฏธํฐ ์ถ๊ฐ
kkh090 3bfec27
experiment4
whthdbs03 95db4b8
Feat/ ratio adjust added in augmentation
kkh090 8a93f39
Merge branch 'dev' into feat/54-optimizers
whthdbs03 74cf28a
Fix/ early stopping ๋ก์ง ์์
kkh090 e91edb2
Feat/ checkpoint ์ด๋ฆ์ ์ ๋ณด ํฌํจ
kkh090 74f911a
Merge pull request #67 from boostcampaitech7/kkh090/checkpoint_name
kkh090 e42051b
plus
Ja2Hw 57c2071
args.py ์ถ๊ฐ ๋ฐ train.py, test.py์์ args์ ๊ฑฐ
kkh090 2536637
Fix/ train.sh weight_path -> checkpoint_path
kkh090 b029837
Merge pull request #68 from boostcampaitech7/kkh090/enhance_args
kkh090 9873e81
add config
Ja2Hw 12af3f9
Feat/ add albumentation augmentation
sejongmin 07de9c4
Feat/ progress bar on/off ์ถ๊ฐ
kkh090 60e1781
Fix/ simple verbose fix
kkh090 f2cb108
Fix/ nohup log ์ถ๋ ฅ ๋ฌธ์ ํด๊ฒฐ
kkh090 99d79b5
Merge branch 'kkh090/verbose' into dev
kkh090 eac4fcf
add config v2
Ja2Hw f90e9bd
Merge branch 'dev' into wandb-plus
Ja2Hw c02aa85
Merge branch 'dev' into feat/54-optimizers
whthdbs03 db6e602
Merge pull request #70 from boostcampaitech7/wandb-plus
Ja2Hw 9a2bd2e
experiment16
whthdbs03 2dda5b6
Feat/ add gradcam code
sejongmin 98066f3
Merge pull request #69 from boostcampaitech7/sejongmin/aug
sejongmin 7aa8345
Fix/ aug ์์ ๋ณ๊ฒฝ rot->drp => drp->rot
kkh090 944b789
Merge remote-tracking branch 'origin/dev' into feat/54-optimizers
whthdbs03 41e9a15
experiment17
whthdbs03 cb64515
Fix/ arg ์ ์ฉ ์์ ๋ณ๊ฒฝ
kkh090 cdc998e
Merge pull request #73 from boostcampaitech7/feat/54-optimizers
whthdbs03 075f594
feat/ ์ค์ผ์ค๋ฌ ์ถ๊ฐ
whthdbs03 0cceb44
experiment24
whthdbs03 f4120d1
Merge pull request #75 from boostcampaitech7/feat/65-scheduler
whthdbs03 64d673e
exp/ resnext101_32x_32d
kkh090 daf2762
Feat Style/ ์ฝ๋ ์ ๋ฆฌ ๋ฐ scheduler ์ถ๊ฐ
kkh090 42584db
Style/ temp.py -> erase_dot_files.py๋ก ๋ณ๊ฒฝ
kkh090 4a031ac
Update README.md
sejongmin 2fbb181
Update README.md
hocheol0303 9601000
Update README.md
sejongmin 47e1f17
Update README.md
kkh090 1bce953
Update README.md
kkh090 6b383cf
Update README.md
kkh090 faed73c
Update README.md
sejongmin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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 ์์ ๋ก๊ทธ์ธ ๊ธฐ๋ฅ์ด ํ์ํฉ๋๋ค. | ||
|
||
### ์ถ๊ฐ์ฌํญ |
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,17 @@ | ||
### PR ํ์ (ํ๋ ์ด์์ PR ํ์ ์ ์ ํํด์ฃผ์ธ์) | ||
- [ ] Feat : ์๋ก์ด ๊ธฐ๋ฅ ์ถ๊ฐ | ||
- [ ] Remove : ํ์ผ ๋ฐ ๊ธฐ๋ฅ ์ญ์ | ||
- [ ] Test : ํ ์คํธ ์ฝ๋ ์ถ๊ฐ | ||
- [ ] Fix : ๋ฒ๊ทธ ์์ | ||
- [ ] Docs : ๋ฌธ์ ์์ | ||
- [ ] Refactor : ์ฝ๋ ๋ฆฌํํ ๋ง | ||
- [ ] Style : ์ฝ๋ ํฌ๋งทํ , ์ธ๋ฏธ์ฝ๋ก ๋๋ฝ, ์ฝ๋ ๋ณ๊ฒฝ์ด ์๋ ๊ฒฝ์ฐ, ์ฃผ์ ์ถ๊ฐ | ||
|
||
### ๋ฐ์ ๋ธ๋์น | ||
ex) feat/login -> dev | ||
|
||
### ๋ณ๊ฒฝ ์ฌํญ | ||
ex) ๋ก๊ทธ์ธ ์, ๊ตฌ๊ธ ์์ ๋ก๊ทธ์ธ ๊ธฐ๋ฅ์ ์ถ๊ฐํ์ต๋๋ค. | ||
|
||
### ํ ์คํธ ๊ฒฐ๊ณผ | ||
ex) ๋ฒ ์ด์ค ๋ธ๋์น์ ํฌํจ๋๊ธฐ ์ํ ์ฝ๋๋ ๋ชจ๋ ์ ์์ ์ผ๋ก ๋์ํด์ผ ํฉ๋๋ค. ๊ฒฐ๊ณผ๋ฌผ์ ๋ํ ์คํฌ๋ฆฐ์ท, GIF, ํน์ ๋ผ์ด๋ธ ๋ฐ๋ชจ๊ฐ ๊ฐ๋ฅํ๋๋ก ์ํAPI๋ฅผ ์ฒจ๋ถํ ์๋ ์์ต๋๋ค. |
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,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 |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
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,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) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.