Commit d67964e2 authored by qianyj's avatar qianyj
Browse files

update README

parent c71d1885
...@@ -43,6 +43,7 @@ python依赖安装: ...@@ -43,6 +43,7 @@ python依赖安装:
#### 多机多卡训练指令(以单机四卡模拟四卡四进程为例): #### 多机多卡训练指令(以单机四卡模拟四卡四进程为例):
sed指令只需要执行一次,添加支持多卡运行的代码 sed指令只需要执行一次,添加支持多卡运行的代码
sed -i '100 r configfile' models-master/official/vision/image_classification/resnet/resnet_ctl_imagenet_main.py sed -i '100 r configfile' models-master/official/vision/image_classification/resnet/resnet_ctl_imagenet_main.py
不打开xla: 不打开xla:
...@@ -83,7 +84,9 @@ sed指令只需要执行一次,添加支持多卡运行的代码 ...@@ -83,7 +84,9 @@ sed指令只需要执行一次,添加支持多卡运行的代码
#### 多机多卡训练指令(以单机四卡模拟四卡四进程为例) #### 多机多卡训练指令(以单机四卡模拟四卡四进程为例)
sed指令只需要执行一次,添加支持多卡运行的代码 sed指令只需要执行一次,添加支持多卡运行的代码
sed -i '100 r configfile' models-master/official/vision/image_classification/resnet/resnet_ctl_imagenet_main.py sed -i '100 r configfile' models-master/official/vision/image_classification/resnet/resnet_ctl_imagenet_main.py
修改scripts-run/single_process.sh和scripts-run/single_process_xla.sh文件里的--dtype=fp16 修改scripts-run/single_process.sh和scripts-run/single_process_xla.sh文件里的--dtype=fp16
不打开xla: 不打开xla:
...@@ -102,7 +105,7 @@ sed指令只需要执行一次,添加支持多卡运行的代码 ...@@ -102,7 +105,7 @@ sed指令只需要执行一次,添加支持多卡运行的代码
根据模型情况填写表格: 根据模型情况填写表格:
| 卡数 | batch size | 类型 | 性能 | Accuracy | 是否打开xla | 进程数 | | 卡数 | batch size | 类型 | 性能 | Accuracy | 是否打开xla | 进程数 |
| :------: | :------: | :------: | :------: |:------: | :------: | | :------: | :------: | :------: | :------: | :------: | :------:| -------- |
| 4 | 512 | fp32 | 843 examples/second | 0.7628 | 否 | 单进程 | | 4 | 512 | fp32 | 843 examples/second | 0.7628 | 否 | 单进程 |
| 4 | 512 | fp16 | - | 0.7616 | 否 | 单进程 | | 4 | 512 | fp16 | - | 0.7616 | 否 | 单进程 |
| 4 | 512 | fp32 | - | 0.7608 | 否 | 四进程 | | 4 | 512 | fp32 | - | 0.7608 | 否 | 四进程 |
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment