Skip to content
Snippets Groups Projects
Commit 0a60bb8d authored by GongLiyao's avatar GongLiyao
Browse files

Change the default format from "AIR" to "MINDIR".

parent b9f97c72
No related branches found
No related tags found
No related merge requests found
Showing
with 28 additions and 28 deletions
......@@ -159,13 +159,13 @@ For FP16 operators, if the input data type is FP32, the backend of MindSpore wil
# (1) Perform a or b.
# a. Set "enable_modelarts=True" on base_config.yaml file.
# Set "file_name='inceptionv4'" on base_config.yaml file.
# Set "file_format='AIR'" on base_config.yaml file.
# Set "file_format='MINDIR'" on base_config.yaml file.
# Set "checkpoint_url='/The path of checkpoint in S3/'" on beta_config.yaml file.
# Set "ckpt_file='/cache/checkpoint_path/model.ckpt'" on base_config.yaml file.
# Set other parameters on base_config.yaml file you need.
# b. Add "enable_modelarts=True" on the website UI interface.
# Add "file_name='inceptionv4'" on the website UI interface.
# Add "file_format='AIR'" on the website UI interface.
# Add "file_format='MINDIR'" on the website UI interface.
# Add "checkpoint_url='/The path of checkpoint in S3/'" on the website UI interface.
# Add "ckpt_file='/cache/checkpoint_path/model.ckpt'" on the website UI interface.
# Add other parameters on the website UI interface.
......
......@@ -19,7 +19,7 @@ is_distributed: False
device_id: 0
platform: 'CPU'
file_name: 'inceptionv3'
file_format: 'AIR'
file_format: 'MINDIR'
width: 299
height: 299
......
......@@ -19,7 +19,7 @@ is_distributed: False
device_id: 0
platform: 'GPU'
file_name: 'inceptionv3'
file_format: 'AIR'
file_format: 'MINDIR'
width: 299
height: 299
......
......@@ -184,13 +184,13 @@ For FP16 operators, if the input data type is FP32, the backend of MindSpore wil
# (1) Perform a or b.
# a. Set "enable_modelarts=True" on base_config.yaml file.
# Set "file_name='mobilenetv1'" on base_config.yaml file.
# Set "file_format='AIR'" on base_config.yaml file.
# Set "file_format: 'MINDIR'" on base_config.yaml file.
# Set "checkpoint_url='/The path of checkpoint in S3/'" on beta_config.yaml file.
# Set "ckpt_file='/cache/checkpoint_path/model.ckpt'" on base_config.yaml file.
# Set other parameters on base_config.yaml file you need.
# b. Add "enable_modelarts=True" on the website UI interface.
# Add "file_name='mobilenetv1'" on the website UI interface.
# Add "file_format='AIR'" on the website UI interface.
# Add "file_format: 'MINDIR'" on the website UI interface.
# Add "checkpoint_url='/The path of checkpoint in S3/'" on the website UI interface.
# Add "ckpt_file='/cache/checkpoint_path/model.ckpt'" on the website UI interface.
# Add other parameters on the website UI interface.
......
......@@ -46,7 +46,7 @@ ckpt_file: "/cache/data/mobilenetv1-90_625.ckpt"
width: 224
height: 224
file_name: "mobilenetv1"
file_format: "AIR"
file_format: 'MINDIR'
# postprocess
result_dir: ''
......
......@@ -51,7 +51,7 @@ ckpt_file: "/cache/data/mobilenetv1-90_625.ckpt"
width: 224
height: 224
file_name: "mobilenetv1"
file_format: "AIR"
file_format: 'MINDIR'
# postprocess
result_dir: ''
......
......@@ -51,7 +51,7 @@ ckpt_file: "/cache/data/mobilenetv1-90_625.ckpt"
width: 224
height: 224
file_name: "mobilenetv1"
file_format: "AIR"
file_format: 'MINDIR'
# postprocess
result_dir: ''
......
......@@ -270,13 +270,13 @@ Export on ModelArts (If you want to run in modelarts, please check the official
# Set "checkpoint_file_path='/cache/checkpoint_path/model.ckpt'" on default_config.yaml file.
# Set "checkpoint_url='s3://dir_to_trained_ckpt/'" on default_config.yaml file.
# Set "file_name='./resnext50'" on default_config.yaml file.
# Set "file_format='AIR'" on default_config.yaml file.
# Set "file_format='MINDIR'" on default_config.yaml file.
# Set other parameters on default_config.yaml file you need.
# b. Add "enable_modelarts=True" on the website UI interface.
# Add "checkpoint_file_path='/cache/checkpoint_path/model.ckpt'" on the website UI interface.
# Add "checkpoint_url='s3://dir_to_trained_ckpt/'" on the website UI interface.
# Add "file_name='./resnext50'" on the website UI interface.
# Add "file_format='AIR'" on the website UI interface.
# Add "file_format='MINDIR'" on the website UI interface.
# Add other parameters on the website UI interface.
# (2) Set the config_path="/path/yaml file" on the website UI interface.
# (3) Set the code directory to "/path/resnext50" on the website UI interface.
......
......@@ -276,12 +276,12 @@ ModelArts导出mindir
# 设置 "checkpoint_file_path='/cache/checkpoint_path/model.ckpt" 在 yaml 文件。
# 设置 "checkpoint_url=/The path of checkpoint in S3/" 在 yaml 文件。
# 设置 "file_name='./resnext50'"参数在yaml文件。
# 设置 "file_format='AIR'" 参数在yaml文件。
# 设置 "file_format='MINDIR'" 参数在yaml文件。
# b. 增加 "enable_modelarts=True" 参数在modearts的界面上。
# 增加 "checkpoint_file_path='/cache/checkpoint_path/model.ckpt'" 参数在modearts的界面上。
# 增加 "checkpoint_url=/The path of checkpoint in S3/" 参数在modearts的界面上。
# 设置 "file_name='./resnext50'"参数在modearts的界面上。
# 设置 "file_format='AIR'" 参数在modearts的界面上。
# 设置 "file_format='MINDIR'" 参数在modearts的界面上。
# (3) 设置网络配置文件的路径 "config_path=/The path of config in S3/"
# (4) 在modelarts的界面上设置代码的路径 "/path/resnext50"。
# (5) 在modelarts的界面上设置模型的启动文件 "export.py" 。
......
......@@ -50,7 +50,7 @@ device_id: 0
width: 224
height: 224
file_name: "resnext50"
file_format: "AIR"
file_format: 'MINDIR'
result_path: ""
label_path: ""
......
......@@ -255,13 +255,13 @@ Export on ModelArts (If you want to run in modelarts, please check the official
# Set "checkpoint_file_path='/cache/checkpoint_path/model.ckpt'" on default_config.yaml file.
# Set "checkpoint_url='s3://dir_to_trained_ckpt/'" on default_config.yaml file.
# Set "file_name='./resnext50'" on default_config.yaml file.
# Set "file_format='AIR'" on default_config.yaml file.
# Set "file_format='MINDIR'" on default_config.yaml file.
# Set other parameters on default_config.yaml file you need.
# b. Add "enable_modelarts=True" on the website UI interface.
# Add "checkpoint_file_path='/cache/checkpoint_path/model.ckpt'" on the website UI interface.
# Add "checkpoint_url='s3://dir_to_trained_ckpt/'" on the website UI interface.
# Add "file_name='./SE_ResNeXt50'" on the website UI interface.
# Add "file_format='AIR'" on the website UI interface.
# Add "file_format='MINDIR'" on the website UI interface.
# Add other parameters on the website UI interface.
# (2) Set the config_path="/path/yaml file" on the website UI interface.
# (3) Set the code directory to "/path/SE_ResNeXt50" on the website UI interface.
......
......@@ -264,12 +264,12 @@ ModelArts导出mindir
# 设置 "checkpoint_file_path='/cache/checkpoint_path/model.ckpt" 在 yaml 文件。
# 设置 "checkpoint_url=/The path of checkpoint in S3/" 在 yaml 文件。
# 设置 "file_name='./SE_ResNeXt50'"参数在yaml文件。
# 设置 "file_format='AIR'" 参数在yaml文件。
# 设置 "file_format='MINDIR'" 参数在yaml文件。
# b. 增加 "enable_modelarts=True" 参数在modearts的界面上。
# 增加 "checkpoint_file_path='/cache/checkpoint_path/model.ckpt'" 参数在modearts的界面上。
# 增加 "checkpoint_url=/The path of checkpoint in S3/" 参数在modearts的界面上。
# 设置 "file_name='./resnext50'"参数在modearts的界面上。
# 设置 "file_format='AIR'" 参数在modelarts的界面上。
# 设置 "file_format='MINDIR'" 参数在modelarts的界面上。
# (3) 设置网络配置文件的路径 "config_path=/The path of config in S3/"
# (4) 在modelarts的界面上设置代码的路径 "/path/SE_ResNeXt50"。
# (5) 在modelarts的界面上设置模型的启动文件 "export.py" 。
......
......@@ -50,7 +50,7 @@ device_id: 0
width: 224
height: 224
file_name: "se_resnext50"
file_format: "AIR"
file_format: "MINDIR"
result_path: ""
label_path: ""
......
......@@ -61,7 +61,7 @@ eval_url: ""
device_id: 1
batch_size: 32
file_name: "sphereface"
file_format: "AIR"
file_format: 'MINDIR'
---
# Help description for each configuration
......
......@@ -433,13 +433,13 @@ Export on ModelArts (If you want to run in modelarts, please check the official
# Set "checkpoint_file_path='/cache/checkpoint_path/model.ckpt'" on default_config.yaml file.
# Set "checkpoint_url='s3://dir_to_trained_ckpt/'" on default_config.yaml file.
# Set "file_name='./squeezenet'" on default_config.yaml file.
# Set "file_format='AIR'" on default_config.yaml file.
# Set "file_format='MINDIR'" on default_config.yaml file.
# Set other parameters on default_config.yaml file you need.
# b. Add "enable_modelarts=True" on the website UI interface.
# Add "checkpoint_file_path='/cache/checkpoint_path/model.ckpt'" on the website UI interface.
# Add "checkpoint_url='s3://dir_to_trained_ckpt/'" on the website UI interface.
# Add "file_name='./squeezenet'" on the website UI interface.
# Add "file_format='AIR'" on the website UI interface.
# Add "file_format='MINDIR'" on the website UI interface.
# Add other parameters on the website UI interface.
# (2) Set the config_path="/path/yaml file" on the website UI interface.
# (3) Set the code directory to "/path/squeezenet" on the website UI interface.
......
......@@ -433,13 +433,13 @@ Export on ModelArts (If you want to run in modelarts, please check the official
# Set "checkpoint_file_path='/cache/checkpoint_path/model.ckpt'" on default_config.yaml file.
# Set "checkpoint_url='s3://dir_to_trained_ckpt/'" on default_config.yaml file.
# Set "file_name='./squeezenet'" on default_config.yaml file.
# Set "file_format='AIR'" on default_config.yaml file.
# Set "file_format='MINDIR'" on default_config.yaml file.
# Set other parameters on default_config.yaml file you need.
# b. Add "enable_modelarts=True" on the website UI interface.
# Add "checkpoint_file_path='/cache/checkpoint_path/model.ckpt'" on the website UI interface.
# Add "checkpoint_url='s3://dir_to_trained_ckpt/'" on the website UI interface.
# Add "file_name='./squeezenet'" on the website UI interface.
# Add "file_format='AIR'" on the website UI interface.
# Add "file_format='MINDIR'" on the website UI interface.
# Add other parameters on the website UI interface.
# (2) Set the config_path="/path/yaml file" on the website UI interface.
# (3) Set the code directory to "/path/squeezenet" on the website UI interface.
......
......@@ -41,7 +41,7 @@ pre_trained: ""
width: 227
height: 227
file_name: "squeezenet"
file_format: "AIR"
file_format: "MINDIR"
---
# Help description for each configuration
......
......@@ -43,7 +43,7 @@ pre_trained: ""
width: 227
height: 227
file_name: "squeezenet"
file_format: "AIR"
file_format: "MINDIR"
---
# Help description for each configuration
......
......@@ -41,7 +41,7 @@ pre_trained: ""
width: 227
height: 227
file_name: "squeezenet"
file_format: "AIR"
file_format: "MINDIR"
---
# Help description for each configuration
......
......@@ -43,7 +43,7 @@ pre_trained: ""
width: 227
height: 227
file_name: "squeezenet"
file_format: "AIR"
file_format: "MINDIR"
---
# Help description for each configuration
......
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