conda create -n mmseg python=3.8
conda activate mmseg
pip install -U openmim
pip install torch
mim install mmsegmentation
pip install wandb
pip install tqdm
git clone <https://github.com/open-mmlab/mmsegmentation.git
>git pull
level2_cv_semanticsegmentation-cv-03
├── ...
└── mmsegmentation
├── configs
├── ...
├── mmseg
├── teamconfigs
│ └── [test]ExpName
│ ├── checkpoints
│ ├── predictions
│ ├── config.py
│ ├── dataset.py
│ ├── default_runtime.py
│ ├── schedule.py
│ └── model.py
├── train.py
└── test.py
teamconfigs
폴더가 configs
폴더 안이 아니라 configs
와 같은 레벨에 위치python train.py [test]ExpName
custom.py
로 구성⚠️ 주의 사항
DATASETS를 register하기 위해 mmseg/datasets
폴더 안에 custom.py
작성
mmseg/datasets/init.py
에 등록한 XRayDataset
추가
tools/train.py
& tools/test.py
를 mmseg
폴더와 같은 레벨에 위치하도록 tools
폴더에서 이동
mmseg/datasets/**init**.py
mmseg/datasets/custom.py
mmseg/datasets/transforms/**init**.py
mmseg/datasets/transforms/custom.py