Skip to content

Commit fabab52

Browse files
authored
add kunlun readme
1 parent b9fbf54 commit fabab52

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

legacy/docs/train_on_xpu.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# 图像分割昆仑模型介绍(持续更新中)
2+
3+
## 前言
4+
5+
* 本文档介绍了目前昆仑支持的图像分割模型以及如何在昆仑设备上训练这些模型
6+
7+
## 昆仑训练
8+
9+
### DeeplabV3
10+
* 数据准备(在legacy目录下):
11+
12+
```shell
13+
python pretrained_model/download_model.py deeplabv3p_xception65_bn_coco
14+
```
15+
16+
* 预训练模型准备(在legacy目录下):
17+
18+
```shell
19+
python dataset/download_optic.py
20+
```
21+
22+
23+
* 执行训练(在legacy目录下):
24+
25+
```shell
26+
python pdseg/train.py --cfg configs/deeplabv3p_xception65_optic_kunlun.yaml --use_mpio --use_xpu --log_steps 1 --do_eval
27+
```
28+

0 commit comments

Comments
 (0)