--model or -m

Applicability

Product

Supported (√/x)

Atlas A3 training product/Atlas A3 inference product

√

Atlas A2 training product/Atlas A2 inference product

√

Atlas 200I/500 A2 inference product

√

Atlas inference product

√

Atlas training product

√

Description

Sets the model file directory, including the file name.

See Also

If the original model is of the Caffe framework, this option must be used together with --weight or -w. If the weight file and model file have the same name and are stored in the same path, you do not need to specify --weight or -w because the system will match them.

During tuning, --model or -m or --model_path must be specified.

Arguments

Argument: model file directory, including the file name.

Format: The directory (including the file name) can contain uppercase and lowercase letters (A–Z, a–z), digits (0–9), underscores (_), hyphens (-), periods (.), and Chinese characters.

Suggestions and Benefits

None

Examples

--model=${HOME}/module/resnet50_tensorflow_1.7.pb

Dependencies and Restrictions

None