Skip to content

Jaehyun's branch #4

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

Open
wants to merge 34 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
6ec0f98
Modify README.md
hyun06000 Oct 20, 2021
1da16d2
add : mmsegmentation
AshHyun Oct 21, 2021
0c555a5
edit : gitignore by sanghyun
AshHyun Oct 21, 2021
422db28
edit : config (epochbased -> iterbased)
AshHyun Oct 21, 2021
5bb043f
edit : gitignore by sanghyun (data)
AshHyun Oct 21, 2021
374647f
add : configs
AshHyun Oct 22, 2021
3bd79a0
add : inference notebook
AshHyun Oct 22, 2021
c821c78
add : notebook to split datasets
AshHyun Oct 22, 2021
0f7ef1b
edit : data dir path
AshHyun Oct 22, 2021
f74db43
edit : resume
AshHyun Oct 22, 2021
021c7ee
add : densecrf
AshHyun Oct 22, 2021
345da12
add : dice_ce loss
AshHyun Oct 22, 2021
8f4eb21
add : configs
AshHyun Oct 23, 2021
cbd1002
add : pydensecrf
AshHyun Oct 23, 2021
e7c9c17
Merge branch 'loss/Jaehyun' into Jaehyun
AshHyun Oct 23, 2021
0fb6929
add : configs
AshHyun Oct 26, 2021
7d4bf2d
edit : convert ipynb to py
AshHyun Oct 26, 2021
40dab7b
Add PassionateMix
Gwang-chae Oct 25, 2021
2c96c3b
edit : parameters
AshHyun Oct 26, 2021
69b9f4b
add : inference for mmseg
AshHyun Oct 28, 2021
7e8aba0
edit : gwangchaemix with albumentations
AshHyun Oct 28, 2021
38f19f5
add : cswin
AshHyun Oct 28, 2021
18d9419
add : cswin
AshHyun Oct 28, 2021
401e06c
add : pseudo labeling for mmsegmentation models from csv
AshHyun Oct 28, 2021
148173f
add : configs
AshHyun Oct 28, 2021
eb72a44
edit : comments
AshHyun Oct 28, 2021
aa2860d
add : insane tta
AshHyun Oct 28, 2021
d12694b
add : configs
AshHyun Oct 28, 2021
366362a
edit : deleted 'convert to rgb'
AshHyun Oct 28, 2021
429f949
add : configs
AshHyun Oct 28, 2021
e438b84
add : insane TTA
AshHyun Oct 28, 2021
155cff4
add : configs
lifrary Oct 26, 2021
9480303
edit : inference on 46
AshHyun Oct 29, 2021
b980a91
add : release
AshHyun Nov 5, 2021
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
Prev Previous commit
Next Next commit
add : insane TTA
  • Loading branch information
AshHyun committed Oct 28, 2021
commit e438b8477054e2bda2c8abf348cc6a644f60705d
21 changes: 11 additions & 10 deletions dev/model_develop/mmsegmentation/inference.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 12,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -23,7 +23,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": 13,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -36,7 +36,8 @@
"# dataset config 수정\n",
"# cfg.data.test.img_dir = root\n",
"cfg.data.test.pipeline[1]['img_scale'] = (512,512) # Resize\n",
"cfg.data.test.pipeline[1]['img_ratios'] = [0.5, 0.625, 0.75, 0.875, 1.0, 1.125, 1.25, 1.375, 1.5, 1.625, 1.75, 1.875, 2.] # TTA\n",
"# cfg.data.test.pipeline[1]['img_ratios'] = [0.5, 0.625, 0.75, 0.875, 1.0, 1.125, 1.25, 1.375, 1.5, 1.625, 1.75, 1.875, 2.] # TTA\n",
"cfg.data.test.pipeline[1]['img_ratios'] = [0.5, 0.75, 1.0, 1.25, 1.5, 1.75, 2.] # TTA\n",
"cfg.data.test.pipeline[1]['flip'] = True\n",
"\n",
"cfg.data.test.test_mode = True\n",
Expand All @@ -53,14 +54,14 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 14,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"2021-10-28 05:53:41,187 - mmseg - INFO - Loaded 819 images\n"
"2021-10-28 06:29:56,895 - mmseg - INFO - Loaded 819 images\n"
]
}
],
Expand All @@ -76,7 +77,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 15,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -105,14 +106,14 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 16,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"[>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 819/819, 0.5 task/s, elapsed: 1567s, ETA: 0s"
"[>>>>>>>>>>>>>>>>>>>>>>>>>>>>] 819/819, 0.3 task/s, elapsed: 2836s, ETA: 0s"
]
}
],
Expand All @@ -122,7 +123,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 17,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -154,7 +155,7 @@
" ignore_index=True)\n",
"\n",
"# submission.csv로 저장\n",
"submission.to_csv(os.path.join(cfg.work_dir, f'38_finetuned_tta.csv'), index=False)"
"submission.to_csv(os.path.join(cfg.work_dir, f'38_finetuned_insanetta.csv'), index=False)"
]
},
{
Expand Down