mmclass…

Published by onesixx on

mmclassification tutorial colab

mmclassification/docs/en/getting_started.md

데이터셋 준비

https://mmclassification.readthedocs.io/en/latest/getting_started.html#prepare-datasets

Python

~/my/git/msc/ mmclassification/mmcls/datasets/init.py 에 등록

Python
~/my/git/mmclassification/mmcls/datasets/init.py

dataset (middleformat을 위한 def load_annotations())

~/my/git/msc/ mmclassification/mmcls/datasets/sixx/mydataset.py

~/my/git/msc/ mmclassification/mmcls/datasets/sixx/mscpilot.py

Shell

config 준비

configs/swin_transformer/

Shell

base를 보면서…

base = ‘swin-small_16xb64_in1k.py’

/home/htkim2_skcc/git/mmclassification/configs/swin_transformer/swin-small_16xb64_in1k.py

model, datasets, schedules(pipeline), runtime

base = [
‘../base/models/swin_transformer/small_224.py’,
‘../base/datasets/imagenet_bs64_swin_224.py’,
‘../base/schedules/imagenet_bs1024_adamw_swin.py’,
‘../base/default_runtime.py’
]

데모

mmclassification/docs/en/tutorials/MMClassification_python.ipynb

https://colab.research.google.com/github/open-mmlab/mmclassification/blob/master/docs/en/tutorials/MMClassification_python.ipynb

inference

python tools/train.py configs/swin_transformer/kht_swin_small_224_b16x64_300e_imagenet.py

Categories: vision

onesixx

Blog Owner

guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x