--weight
Applicability
Product |
Supported |
|---|---|
x |
|
x |
|
√ |
|
√ |
|
√ |
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.
Argument
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