--weight
Applicable Products
Ascend 950PR /Ascend 950DT : not supportedAtlas A3 training products /Atlas A3 inference products : not supportedAtlas A2 training products /Atlas A2 inference products : not supportedAtlas 200I/500 A2 inference products : supportedAtlas inference products : supportedAtlas training products : supported
Description
Sets the model weight file path, including the file name, which is required for a Caffe model.
See Also
For a Caffe model file, use this option in conjunction with --model.
Arguments
Argument: Directory of the weight file, 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
Example
atc --mode=0 --model=$HOME/module/resnet50.prototxt --weight=$HOME/module/resnet50.caffemodel --framework=0 --soc_version=<soc_version> --output=$HOME/module/out/caffe_resnet50
Dependencies and Restrictions
None
Parent topic: Input Options