--weight or -w

Description

Sets the model weight file directory, including the file name.

This option is required for a Caffe model.

See Also

If the original model is of the Caffe framework, this option must be used together with --model or -m. 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 automatically match them.

Arguments

Argument: Weight file directory, including the file name.

Format: The directory (including the file name) can contain letters, digits, underscores (_), hyphens (-), periods (.), and Chinese characters.

Suggestions and Benefits

None

Examples

--model=${HOME}/test/resnet50.prototxt --weight=${HOME}/test/resnet50new.caffemodel

Dependencies and Restrictions

None