准备数据参考readme
修改参数文件:
- config file: ./configs/trans10kv2/trans2seg/***.yaml
- edit class num, class name: ./segmentron/data/dataloader
- 标签,背景为0,类别为1,2,…
train:
bash tools/dist_train.sh configs/trans10kv2/trans2seg/trans2seg_medium.yaml
```bash
在这里插入代码片
test:
bash tools/dist_train.sh configs/trans10kv2/trans2seg/trans2seg_medium.yaml --test TEST.TEST_MODEL_PATH workdirs/glass/trans2seg_medium/100.pth