update device_target description

This commit is contained in:
liuzx 2022-03-25 17:15:04 +08:00
parent 0fcd8aa6c6
commit ef1b1c6112
3 changed files with 4 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

View File

@ -61,6 +61,8 @@
| 运行参数 | 数据存储位置和训练输出位置分别对应运行参数data_url和train_url选择增加运行参数可以向脚本中其他参数传值如epoch_size。在这里只需填入其他参数传值data_url和train_url已默认加入运行参数用户无需重复指定只需在代码中指定。 |
| 资源池 | 规格选择[Ascend: 1 * Ascend 910 CPU24 核 256GiB],表示单机单卡 |
若要在启智平台上使用NPU需要在启智平台训练界面上加上运行参数device_target=Ascend否则默认是CPU如下图所示
![avatar](Example_Picture/运行参数界面.png)
## 4 查看运行结果
### 4.1 在训练作业界面可以查看运行日志
![avatar](Example_Picture/查看日志页面.png)

View File

@ -71,8 +71,8 @@ parser.add_argument(
'--device_target',
type=str,
default="Ascend",
choices=['Ascend', 'GPU', 'CPU'],
help='device where the code will be implemented (default: Ascend)')
choices=['Ascend', 'CPU'],
help='device where the code will be implemented (default: CPU),若要在启智平台上使用NPU需要在启智平台训练界面上加上运行参数device_target=Ascend')
#modelarts已经默认使用data_url和train_url
parser.add_argument('--epoch_size',