已合并
【PR】: 更新错误码 #4357
Sophia1213创建于 19 天前
【PR】: 更新错误码 #4357
已合并
共 250 个文件变更+5095-5
| @@ -0,0 +1,31 @@ | |||
| 1 | +# E10001 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: parameter value, parameter name, error cause. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s for parameter %s is invalid. Reason: %s | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example 1: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value 2 for parameter ge.exec.enableDump is invalid. Reason: The value must be 1 or 0. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +Error example 2: | ||
| 18 | + | ||
| 19 | +```text | ||
| 20 | +Value -1 for parameter ge.exec.hostSchedulingMaxThreshold is invalid. Reason: The current value is not within the valid range. The valid range is [0, INT64_MAX]. | ||
| 21 | +``` | ||
| 22 | + | ||
| 23 | +Error example 3: | ||
| 24 | + | ||
| 25 | +```text | ||
| 26 | +Value FORMAT_ALL for parameter --input_format is invalid. Reason: The current value is not within the valid range. | ||
| 27 | +``` | ||
| 28 | + | ||
| 29 | +## Solution | ||
| 30 | + | ||
| 31 | +Please input correct parameter value based on the prompts in the Reason, or refer to the official documentation for parameter usage instructions. | ||
| @@ -0,0 +1,25 @@ | |||
| 1 | +# E10002 Invalid\_Argument\_Tensor\_Input\_Shape | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: parameter value, error cause, configuration example. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s for parameter --input_shape is invalid. Reason: %s. The value must be formatted as %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example 1: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value n1~n2,c1,h1,w1 for parameter --input_shape is invalid. Reason: The shape must contain two parts: name and value. The value must be formatted as "input_name1:n1~n2,c1,h1,w1". | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +Error example 2: | ||
| 18 | + | ||
| 19 | +```text | ||
| 20 | +Value input_name1:1.1,3,224,224 for parameter --input_shape is invalid. Reason: The float number is unsupported. The value must be formatted as "input_name1:1,3,224,224". | ||
| 21 | +``` | ||
| 22 | + | ||
| 23 | +## Solution | ||
| 24 | + | ||
| 25 | +The valid format is input\_name1:n1,c1,h1,w1;input\_name2:n2,c2,h2,w2. Replace input\_name with node names. Ensure that the shape values are integers. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10003 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: parameter value, parameter name, error cause. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s for parameter --%s is invalid. Reason: %s | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value 1.1,2,4,8 for parameter --dynamic_batch_size is invalid. Reason: It can only contain digits and ",". | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Please input correct parameter value based on the prompts in the Reason, or refer to the official documentation for parameter usage instructions. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10004 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the parameter name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value for --%s is empty. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value for --input_shape is empty. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Set a valid parameter value. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10005 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: error stage \(or API name\), parameter value, parameter name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s for parameter --%s is invalid. The value must be either true or false. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value enable for parameter --is_input_adjust_hw_layout is invalid. The value must be either true or false. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Set a valid parameter value. The parameter value can only be true or false. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10006 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: error stage \(or API name\), parameter value, parameter name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s for parameter --%s is invalid. The value must be either 1 or 0. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value 2 for parameter --sparsity is invalid. The value must be either 1 or 0. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Set a valid parameter value. The parameter value can only be 1 or 0. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10007 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: parameter name, expected value. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +--%s is required. The value must be %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +--framework is required. The value must be 0(Caffe) or 1(MindSpore) or 3(TensorFlow) or 5(Onnx). | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Set a valid parameter value. | ||
| @@ -0,0 +1,12 @@ | |||
| 1 | +# E10008 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +--weight must not be empty when --framework is set to 0 (Caffe). | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## Solution | ||
| 10 | + | ||
| 11 | +1. If the source model framework is Caffe, try again with a valid --weight argument. | ||
| 12 | +2. If the source model framework is not Caffe, try again with a valid --framework argument. | ||
| @@ -0,0 +1,12 @@ | |||
| 1 | +# E10009 Invalid\_Argument\_Tensor\_Dynamic\_Shape | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +--dynamic_batch_size, --dynamic_image_size, --input_shape_range, and --dynamic_dims are mutually exclusive. | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## Solution | ||
| 10 | + | ||
| 11 | +1. In dynamic shape scenarios, include only one of these options in your command line. | ||
| 12 | +2. In static shape scenarios, remove these options from your command line. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10010 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the parameter value. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s for parameter --log is invalid. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value bug for parameter --log is invalid. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Select the value from debug, info, warning, error, and null. | ||
| @@ -0,0 +1,20 @@ | |||
| 1 | +# E10011 Invalid\_Argument\_Tensor\_Input\_Shape | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the parameter value. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s for parameter --input_shape is invalid. Shape values must be positive integers. The error value in the shape is %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value [-1,2,3,4] for parameter --input_shape is invalid. Shape values must be positive integers. The error value in the shape is -1. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +1. In static shape scenarios, set the shape values in --input\_shape to positive integers. | ||
| 20 | +2. In dynamic shape scenarios, add the related dynamic-input option in your command line, such as --dynamic\_batch\_size, --dynamic\_image\_size, or --dynamic\_dims. | ||
| @@ -0,0 +1,12 @@ | |||
| 1 | +# E10012 Invalid\_Argument\_Tensor\_Input\_Shape | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +--dynamic_batch_size is included, but the dimension count of the dynamic-shape input configured in --input_shape is less than 1. | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## Solution | ||
| 10 | + | ||
| 11 | +1. In static shape scenarios, remove the --dynamic\_batch\_size option from your command line. | ||
| 12 | +2. In dynamic shape scenarios, set the corresponding axis of the dynamic-shape input in --input\_shape to -1. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10013 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: parameter value, parameter name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s for --%s is out of range. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value 99999999999999999999 for --input_shape is out of range. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Run the "**atc -h**" command to view the usage. For details, see ATC Instructions. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10014 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: parameter value, parameter name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s for parameter --%s is invalid. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value abc for parameter --input_shape is invalid. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Run the "**atc -h**" command to view the usage. For details, see ATC Instructions. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10016 Invalid\_Argument\_Operator\_Name | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: op name, parameter name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Op name %s specified in --%s is not found in the model. Confirm whether this node name exists, or whether the node is not split with the specified delimiter ';'. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Op name invalid_op specified in --input_shape is not found in the model. Confirm whether this node name exists, or whether the node is not split with the specified delimiter ';'. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Specify the name of an existing node in the graph. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10017 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: op name, parameter name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Input Op %s specified in --%s is invalid. The Op type must be Data. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Input Op input1 specified in --input_shape is invalid. The Op type must be Data. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Please input correct value based on the prompts in the error message. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10018 Invalid\_Argument\_Tensor\_Dynamic\_Shape | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: shape, index. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s for shape %s is invalid. When --dynamic_batch_size is included, only batch size N can be -1 in --input_shape. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value -1 for shape 1 is invalid. When --dynamic_batch_size is included, only batch size N can be -1 in --input_shape. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Try again with a valid --input\_shape argument. Make sure that non-batch size axes are not -1. | ||
| @@ -0,0 +1,11 @@ | |||
| 1 | +# E10019 Invalid\_Argument\_Tensor\_Input\_Shape | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +When --dynamic_image_size is included, only the height and width axes can be -1 in --input_shape. | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## Solution | ||
| 10 | + | ||
| 11 | +Try again with a valid --input\_shape argument. Make sure that axes other than height and width are not -1. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10020 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the parameter value. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s for parameter --dynamic_image_size is invalid. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value 1,2,3;4,5,6 for parameter --dynamic_image_size is invalid. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +The value must be formatted as "imagesize1\_height,imagesize1\_width;imagesize2\_height,imagesize2\_width". Make sure that each profile has two dimensions. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10021 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: parameter name, expected value. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Path for parameter --%s is too long. Keep the length within %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Path for parameter --output is too long. Keep the length within 4096. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +The path name exceeds the maximum length. Specify a valid path name. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10022 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: path, parameter name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Path %s for parameter --%s does not include the file name. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Path / for parameter --output does not include the file name. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Add the file name to the path. | ||
| @@ -0,0 +1,23 @@ | |||
| 1 | +# E10023 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the parameter value. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s for parameter --singleop is invalid. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value &* for parameter --singleop is invalid. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Possible Cause | ||
| 18 | + | ||
| 19 | +The path does not exist or the file name is incorrect. | ||
| 20 | + | ||
| 21 | +## Solution | ||
| 22 | + | ||
| 23 | +Check whether the input file exists. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10024 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the file name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to open file %s specified by --singleop. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to open file /home/singleop.json specified by --singleop. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Check the owner group and permission settings and ensure that the user who runs the ATC command has enough permission to open the file. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10025 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: file name, error cause. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +File %s specified by --singleop is not a valid JSON file. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +File /home/singleop.json specified by --singleop is not a valid JSON file. Reason: ios_base::clear: unspecified iostream_category error. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Check that the file is in valid JSON format. | ||
| @@ -0,0 +1,11 @@ | |||
| 1 | +# E10026 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +The Op name is empty in the file specified by --singleop. | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## Solution | ||
| 10 | + | ||
| 11 | +Check that the Op name is not empty in the file. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10027 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: attribute name, input or output, tensor index, op name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Attribute %s of %s tensor %s for Op %s is invalid when --singleop is specified. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Attribute datatype of input tensor 1 for Op Add is invalid when --singleop is specified. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Try again with a valid tensor dtype and format. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10029 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the error cause. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Attribute name of Op %s is empty in the file specified by --singleop. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Attribute name of Op Add is empty in the file specified by --singleop. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Check that the Op attribute name is not empty in the file. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10030 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: attribute name, op name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +There is an invalid value for attribute name %s of Op %s in the file specified by --singleop. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +There is an invalid value for attribute name datatype of Op Add in the file specified by --singleop. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Check that the Op attribute value is valid in the file. | ||
| @@ -0,0 +1,16 @@ | |||
| 1 | +# E10031 Invalid\_Argument\_Tensor\_Input\_Shape | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +--dynamic_batch_size is included, but none of the nodes specified in --input_shape has a batch size equaling -1. | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## Possible Cause | ||
| 10 | + | ||
| 11 | +As --dynamic\_batch\_size is included, ensure that at least one of the nodes specified in --input\_shape has a batch size equaling -1. | ||
| 12 | + | ||
| 13 | +## Solution | ||
| 14 | + | ||
| 15 | +1. In static shape scenarios, remove the --dynamic\_batch\_size option from your command line. | ||
| 16 | +2. In dynamic shape scenarios, set the corresponding axis of the dynamic-shape input in --input\_shape to -1. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10032 File\_Operation\_Error\_Parse | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: file name, error cause. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to parse JSON file %s. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to parse JSON file /home/singleop.json. Reason: [json.exception.out_of_range.401] array index 5 is out of range. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Check whether the json file is valid. | ||
| @@ -0,0 +1,20 @@ | |||
| 1 | +# E10034 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the op name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Nodes (for example, %s) connected to AIPP must not be of type FP16. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Nodes (for example, Add) connected to AIPP must not be of type FP16. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +1. To enable AIPP, remove the nodes connected to AIPP from the --input\_fp16\_nodes argument. | ||
| 20 | +2. If AIPP is not required, remove the --insert\_op\_conf option from your ATC command line. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10035 Invalid\_Argument\_Tensor\_Dynamic\_Shape | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: shape size, shape size minimum. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +--dynamic_batch_size, --dynamic_image_size, or --dynamic_dims has %s profiles, which is less than the minimum %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +--dynamic_batch_size, --dynamic_image_size, or --dynamic_dims has 1 profiles, which is less than the minimum 2. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Ensure that the number of profiles configured in --dynamic\_batch\_size, --dynamic\_image\_size, or --dynamic\_dims is at least the minimum. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10036 Invalid\_Argument\_Tensor\_Dynamic\_Shape | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: shape size, shape size maximum. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +--dynamic_batch_size, --dynamic_image_size, or --dynamic_dims has %s profiles, which is greater than the maximum %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +--dynamic_batch_size, --dynamic_image_size, or --dynamic_dims has 1024 profiles, which is greater than the maximum 100. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Ensure that the number of profiles configured in --dynamic\_batch\_size, --dynamic\_image\_size, or --dynamic\_dims is at most the maximum. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10037 Invalid\_Argument\_Tensor\_Dynamic\_Shape | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the dimension count. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +The profiles configured in --dynamic_batch_size, --dynamic_image_size, or --dynamic_dims have inconsistent dimension counts. A profile has %s dimensions while another has %s dimensions. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +The profiles configured in --dynamic_batch_size, --dynamic_image_size, or --dynamic_dims have inconsistent dimension counts. A profile has 4 dimensions while another has 8 dimensions. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Ensure that the profiles configured in --dynamic\_batch\_size, --dynamic\_image\_size, or --dynamic\_dims have the same dimension count. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10038 Invalid\_Argument\_Tensor\_Dynamic\_Shape | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the dimension size. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Dimension size %s is invalid. The value must be greater than 0. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Dimension size -1 is invalid. The value must be greater than 0. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Set the shape values of each profile to positive in --dynamic\_batch\_size, --dynamic\_image\_size, or --dynamic\_dims. | ||
| @@ -0,0 +1,11 @@ | |||
| 1 | +# E10039 Invalid\_Argument\_Tensor\_Dynamic\_Shape | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +The --dynamic_batch_size, --dynamic_image_size, or --dynamic_dims argument has duplicate profiles. | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## Solution | ||
| 10 | + | ||
| 11 | +Check that the profiles configured in --dynamic\_batch\_size, --dynamic\_image\_size, or --dynamic\_dims are unique. | ||
| @@ -0,0 +1,13 @@ | |||
| 1 | +# E10040 Invalid\_Argument\_Tensor\_Input\_Shape | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +As the --dynamic_batch_size, --dynamic_image_size, or --dynamic_dims argument is included, the corresponding nodes specified in --input_shape must have -1 axes and cannot have '~'. | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## Solution | ||
| 10 | + | ||
| 11 | +1. In static shape scenarios, remove the --dynamic\_batch\_size, --dynamic\_image\_size or --dynamic\_dims option from your command line. | ||
| 12 | +2. In dynamic multi-batch scenarios, set the corresponding axis of the dynamic-shape input in --input\_shape to -1. | ||
| 13 | +3. In dynamic shape scenarios, remove the --dynamic\_batch\_size, --dynamic\_image\_size or --dynamic\_dims option from your command line and set --input\_shape to -1 or n1\~n2. | ||
| @@ -0,0 +1,21 @@ | |||
| 1 | +# E10041 Invalid\_Argument\_Model | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the file name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to load the model from %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to load the model from /home/offline.om. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +1. Check that the model file is valid. | ||
| 20 | +2. Check that the weight file or path is valid when the model is more than 2 GB. | ||
| 21 | +3. Check that the --framework argument matches the actual framework of the model file. | ||
| @@ -0,0 +1,11 @@ | |||
| 1 | +# E10045 Invalid\_Argument\_Tensor\_Dynamic\_Shape | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +The number of -1 axes in the --input_shape argument exceeds the dimension count per profile in --dynamic_dims. | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## Solution | ||
| 10 | + | ||
| 11 | +Ensure that the number of -1 axes in the --input\_shape argument matches the dimension count per profile in --dynamic\_dims. | ||
| @@ -0,0 +1,11 @@ | |||
| 1 | +# E10046 Invalid\_Argument\_Tensor\_Dynamic\_Shape | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +The total number of -1 axes in the --input_shape argument is greater than the dimension count per profile in --dynamic_dims. | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## Solution | ||
| 10 | + | ||
| 11 | +Ensure that the total number of -1 axes in the --input\_shape argument is less than the dimension count per profile in --dynamic\_dims. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10047 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholders %s indicate the parameter name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +--%s and --%s are mutually exclusive. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +--enable_compress_weight and --compress_weight_conf are mutually exclusive. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Remove either of them and try again. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10048 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: parameter value, error cause, configuration example. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s for parameter --input_shape_range or dynamic_inputs_shape_range is invalid. Reason: %s. The value must be formatted as %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value abc for parameter --input_shape_range or dynamic_inputs_shape_range is invalid. Reason: The current string cannot be converted to a number. The value must be formatted as 16. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Please retry with valid parameter value. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10049 Invalid\_Argument\_Tensor\_Input\_Shape | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholders %s indicate the dimension count. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Dimension count %s configured in --input_shape does not match dimension count %s of the node. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Dimension count 3 configured in --input_shape does not match dimension count 4 of the node. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Set the dimension count in --input\_shape according to the dimension count of the node. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10050 Invalid\_Argument\_Tensor\_Input\_Shape\_Range | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: current dimension size, dimension size minimum, dimension size maximum. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Current dimension size %s is not in the range of %s-%s specified by --input_shape. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Current dimension size 2 is not in the range of 4-8 specified by --input_shape. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Set the dimension size according to --input\_shape. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10051 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: parameter value, length. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s for parameter --job_id exceeds the allowed maximum length %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value 200 for parameter --job_id exceeds the allowed maximum length 128. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Please retry with valid parameter value. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10052 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the error cause. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +AIPP configuration is invalid. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +AIPP configuration is invalid. Reason: When --dynamic_image_size is set, crop and padding cannot be set to 'true'. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Please input correct parameter value based on the prompts in the Reason, or refer to the official documentation for parameter usage instructions. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10054 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the parameter name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +The required parameter %s for ATC is empty. Another possible reason is that the values of some parameters are not enclosed by quotation marks (""). | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +The required parameter --soc_version for ATC is empty. Another possible reason is that the values of some parameters are not enclosed by quotation marks (""). | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Check whether the command line parameter format is correct. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10055 Not\_Supported | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the error cause. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +The operation is not supported. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +The operation is not supported. Reason: Options soc_version Ascend910B and mode 0 must be set together. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Check whether the configured parameter or used function is supported. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10056 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholders %s indicate the parameter name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Cannot configure both parameters %s and %s simultaneously. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Cannot configure both parameters --precision_mode and --precision_mode_v2 simultaneously. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +The two parameters cannot be set at the same time. View the parameter descriptions by referring to the documentation. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10057 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholders %s indicate the parameter name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +--%s and --%s can only be used together. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +--om and --model can only be used together. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +If the value of --mode is 6, it only needs to be used with --om. Please check and try again. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10058 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the parameter name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Parameter %s is not configured or is empty. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Parameter --dynamic_dims is not configured or is empty. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Please refer to the official documentation for parameter usage instructions. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10059 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: API name, error cause. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +%s failed. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +SaveOriginalGraphToOmModel failed. Reason: The model file name cannot be empty. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Please input correct parameter value based on the prompts in the Reason, or refer to the official documentation for parameter usage instructions. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10060 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the error cause. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Parameter is invalid. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Parameter is invalid. Reason: Option ge.autoTuneMode has been discarded. Use the AOE tool for tuning. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Please input correct parameter value based on the prompts in the Reason, or refer to the official documentation for parameter usage instructions. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10061 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: parameter value, parameter name, expected value. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s for parameter %s is invalid. Expected value: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value NZ for parameter input_format is invalid. Expected value: ND, NCHW, NHWC, CHWN, NC1HWC0, or NHWC1C0. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Please input correct value based on the prompts in the error message. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10062 Invalid\_Argument\_API\_Call\_Sequence | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: API name, error cause. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to %s. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to call RunGraphAsync. Reason: Graph <graph_id> has been compiled by calling CompileGraph. RunGraphAsync and CompileGraph are mutually exclusive and cannot be used together. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Please adjust code based on the prompts in the Reason. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10063 Environment\_Error | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: API name, error cause. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to call the %s API of the system or third-party software. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to call the localtime API of the system or third-party software. Reason: [Errno 75] Value too large for defined data type. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Please adjust code based on the prompts in the Reason. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10401 Invalid\_Argument\_Operator\_Input\_Count | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: input number, maximum number. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +The number of operator inputs %s exceeds the allowed maximum %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +The number of operator inputs 5 exceeds the allowed maximum 4. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Try again with a valid number of inputs. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10402 Invalid\_Argument\_Operator\_Input\_Buffer | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: index, expected buffer size, current buffer size. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Input indexed %s requires a %s buffer, but %s aligned buffer is allocated. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Input indexed 1 requires a 200 buffer, but 100 aligned buffer is allocated. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Check whether the data type, dimensions, and shape are correctly set. For details, see the aclGetTensorDescSize API description in API Reference. | ||
| @@ -0,0 +1,23 @@ | |||
| 1 | +# E10403 Invalid\_Argument\_Operator\_Output\_Count | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: output number, maximum number. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +The number of operator outputs %s exceeds the allowed maximum %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +The number of operator outputs 5 exceeds the allowed maximum 4. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Possible Cause | ||
| 18 | + | ||
| 19 | +The number of outputs configured for operator execution does not match that described in the operator specifications. | ||
| 20 | + | ||
| 21 | +## Solution | ||
| 22 | + | ||
| 23 | +Check whether the number of elements in numoutputs is correctly set. The aclopCompile, aclopExecuteV2, and aclopCompileAndExecute APIs may be involved. For details, see API Reference. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10404 Invalid\_Argument\_Operator\_Output\_Buffer | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: index, expected buffer size, current buffer size. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Output indexed %s requires a %s buffer, but %s aligned buffer is allocated. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Output indexed 1 requires a 200 buffer, but 100 aligned buffer is allocated. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Check whether the data type, dimensions, and shape are correctly set. For details, see the aclGetTensorDescSize API description in API Reference. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10405 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: memory size, tensor number. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +The number of input buffers is %s, which does not match the number of input tensors %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +The number of input buffers is 5, which does not match the number of input tensors 4. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Check whether the number of elements in inputDesc and inputs of the operator is correctly set. The aclopExecuteV2 and aclopCompileAndExecute APIs may be involved. For details, see API Reference. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10406 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: memory size, tensor number. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +The number of output buffers is %s, which does not match the number of output tensors %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +The number of output buffers is 5, which does not match the number of output tensors 4. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Check whether the number of elements in outputDesc and outputs of the operator is correctly set. The aclopExecuteV2 and aclopCompileAndExecute APIs may be involved. For details, see API Reference. | ||
| @@ -0,0 +1,23 @@ | |||
| 1 | +# E10410 File\_Operation\_Error\_File\_Not\_Exist | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the file name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +File %s does not exist. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +File /home/keepdtype does not exist. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Possible Cause | ||
| 18 | + | ||
| 19 | +The file specified by the --keep\_dtype or --compress\_weight\_conf argument does not exist. | ||
| 20 | + | ||
| 21 | +## Solution | ||
| 22 | + | ||
| 23 | +Try again with a valid file directory. | ||
| @@ -0,0 +1,25 @@ | |||
| 1 | +# E10501 Not\_Supported\_Operator | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: op name, op type. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +IR for Op %s with optype %s is not registered. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +IR for Op custom_op with optype CustomOp is not registered. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Possible Cause | ||
| 18 | + | ||
| 19 | +1. The environment variable ASCEND\_OPP\_PATH is not configured. | ||
| 20 | +2. IR is not registered. | ||
| 21 | + | ||
| 22 | +## Solution | ||
| 23 | + | ||
| 24 | +1. Check whether ASCEND\_OPP\_PATH is correctly set. | ||
| 25 | +2. Check whether the operator prototype has been registered. For details, see the operator developer guide. | ||
| @@ -0,0 +1,11 @@ | |||
| 1 | +# E11001 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +input_dim and input_shape are mutually exclusive in NetParameter for Caffe model conversion. | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## Solution | ||
| 10 | + | ||
| 11 | +Remove either --input\_dim or --input\_shape from your atc command line. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E11003 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: input dimension size, input number. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +The number of input_dim fields in the model is %s, which is not 4x the input count %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +The number of input_dim fields in the model is 4, which is not 4x the input count 8. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Modify your Caffe model and try again. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E11004 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: input shape size, input number. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +The number of input shapes is %s, which does not match the number of inputs %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +The number of input shapes is 3, which does not match the number of inputs 4. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Modify your Caffe model and try again. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E11005 Invalid\_Argument\_Tensor\_Input\_Shape | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the input name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +The shape is not defined by using --input_shape for input %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +The shape is not defined by using --input_shape for input Input1. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Modify your Caffe model, or add the input shape to the --input\_shape argument in your atc command line. | ||
| @@ -0,0 +1,11 @@ | |||
| 1 | +# E11008 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +Op type DetectionOutput is unsupported. | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## Solution | ||
| 10 | + | ||
| 11 | +Modify your Caffe model and replace DetectionOutput operators with FSRDetectionOutput or SSDDetectionOutput. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E11009 Not\_Supported\_Operator | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: op name, op type. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +No Caffe parser is registered for Op %s with Op type %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +No Caffe parser is registered for Op custom_op with Op type CustomOp. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Check whether the Caffe plugin of the operator has been registered. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E11012 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: bottom blob, layer, index. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Unknown bottom blob %s at layer %s. The bottom blob is indexed %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Unknown bottom blob data at layer conv1. The bottom blob is indexed 1. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Modify your Caffe model and try again. | ||
| @@ -0,0 +1,23 @@ | |||
| 1 | +# E11014 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the layer. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to find the top blob for layer %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to find the top blob for layer conv1. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Possible Cause | ||
| 18 | + | ||
| 19 | +The top blob has no corresponding node in the source Caffe model. | ||
| 20 | + | ||
| 21 | +## Solution | ||
| 22 | + | ||
| 23 | +Modify your Caffe model and try again. | ||
| @@ -0,0 +1,23 @@ | |||
| 1 | +# E11015 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the layer. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to find the bottom blob for layer %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to find the bottom blob for layer conv1. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Possible Cause | ||
| 18 | + | ||
| 19 | +The bottom blob has no corresponding node in the source Caffe model. | ||
| 20 | + | ||
| 21 | +## Solution | ||
| 22 | + | ||
| 23 | +Modify your Caffe model and try again. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E11016 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: op name, output index, output index maximum, input index, input index maximum. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to add Op %s to NetOutput. Op output index %s is not less than %s. NetOutput input_index %s is not less than %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to add Op add to NetOutput. Op output index 3 is not less than 2. NetOutput input_index 3 is not less than 2. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Try again with a valid --out\_nodes argument. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E11017 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the op name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to find node %s specified by --out_nodes. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to find node add specified by --out_nodes. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Try again with a valid --out\_nodes argument. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E11018 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the op name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Op name %s contains invalid characters. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Op name add_&* contains invalid characters. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Allowed characters include: letters, digits, hyphens \(-\), periods \(.\), underscores \(\_\), and slashes \(/\). Modify the Op name and try again. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E11021 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the model file name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Model file %s contains "layers" structures, which have been deprecated in Caffe and unsupported by ATC. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Model file /home/caffe.prototxt contains "layers" structures, which have been deprecated in Caffe and unsupported by ATC. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Replace layers with layer. | ||
| @@ -0,0 +1,15 @@ | |||
| 1 | +# E11022 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +Invalid prototxt file. | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## Possible Cause | ||
| 10 | + | ||
| 11 | +No layer structures are found in the Caffe model. | ||
| 12 | + | ||
| 13 | +## Solution | ||
| 14 | + | ||
| 15 | +Invalid Caffe model. Modify the Caffe model and add the layer field. | ||
| @@ -0,0 +1,11 @@ | |||
| 1 | +# E11023 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +Weight file contains "layers" structures, which have been deprecated in Caffe and unsupported by ATC." | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## Solution | ||
| 10 | + | ||
| 11 | +Replace layers with layer. | ||
| @@ -0,0 +1,15 @@ | |||
| 1 | +# E11024 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +Invalid Caffe weight file. | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## Possible Cause | ||
| 10 | + | ||
| 11 | +No layer structures are found in the Caffe weight file. | ||
| 12 | + | ||
| 13 | +## Solution | ||
| 14 | + | ||
| 15 | +Invalid Caffe weight file. Modify the Caffe weight file and add the layer field. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E11027 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: op name, op type. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Op %s with optype %s in the Caffe model has an input node with shape size 0. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Op add with optype Add in the Caffe model has an input node with shape size 0. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Invalid Caffe model. Modify the input shape of the node. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E11029 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the op name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Op %s exists in the model file but is not found in weight file. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Op add exists in the model file but is not found in weight file. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Try again with a valid Caffe model or weight file. Ensure that the two files match with each other. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E11032 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: message type, error field, error cause. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to parse message %s. The error field is %s. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to parse message model. The error field is LayerParameter. Reason: Cannot find domi.caffe.LayerParameter in google::protobuf::Descriptor. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Check whether the Caffe model supports the field. | ||
| @@ -0,0 +1,23 @@ | |||
| 1 | +# E11033 Invalid\_Argument\_Caffe\_Model\_Weight | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: blob name, blob size, error cause. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to convert the weight file. Blob %s of size %s is invalid. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to convert the weight file. Blob data of size 100 is invalid. Reason: It does not match shape size 128. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Possible Cause | ||
| 18 | + | ||
| 19 | +The blob size of the node in the Caffe weight file does not match the number of elements calculated based on its shape. | ||
| 20 | + | ||
| 21 | +## Solution | ||
| 22 | + | ||
| 23 | +Try again with a valid Caffe model or weight file. Ensure that the two files match with each other. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E11035 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: op name, size. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +The top size of data node %s is not 1 but %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +The top size of data node data1 is not 1 but 2. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Invalid Caffe model. Change the number of outputs for the data node to 1. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E11036 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the top blob. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Data nodes have duplicate top blobs %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Data nodes have duplicate top blobs data1. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Invalid Caffe model. Make sure the data node has a unique output name. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E11037 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the op name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Op %s has zero outputs. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Op add has zero outputs. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Nodes in the Caffe model must have at least one output. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E12004 Invalid\_Argument\_Operator\_Input\_Index | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: op name, input index, input count. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to register the prototype of Op %s. If input index is less than 0, then input index -%s (absolute value) must be less than the input count %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to register the prototype of Op add. If input index is less than 0, then input index -2 (absolute value) must be less than the input count 1. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +When the Const input is converted to an attribute, check whether the input index is correctly set. | ||
| @@ -0,0 +1,23 @@ | |||
| 1 | +# E12009 Invalid\_Argument\_TensorFlow\_Model\_Data | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: input name, op name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Input %s for Op %s is not found in graph_def. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Input data for Op input is not found in graph_def. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Possible Cause | ||
| 18 | + | ||
| 19 | +The input name of the node is not found in the graph. | ||
| 20 | + | ||
| 21 | +## Solution | ||
| 22 | + | ||
| 23 | +Try again with a valid TensorFlow model. | ||
| @@ -0,0 +1,20 @@ | |||
| 1 | +# E12013 Invalid\_Argument\_TensorFlow\_Model\_Data | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the graph name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to find a subgraph by the name %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to find a subgraph by the name tf_subgraph. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +1. To use function subgraphs to convert a TensorFlow model, place the subgraph .proto description file in the same directory as the model file and name it graph\_def\_library.pbtxt. | ||
| 20 | +2. Run the func2graph.py script in the ATC installation directory to save the subgraphs to graph\_def\_library.pbtxt. | ||
| @@ -0,0 +1,16 @@ | |||
| 1 | +# E12029 Invalid\_Argument\_TensorFlow\_Model\_Data | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +Failed to find the subgraph library. | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## Possible Cause | ||
| 10 | + | ||
| 11 | +The model to convert contains function subgraphs, but the graph\_def\_library.pbtxt file is not found. | ||
| 12 | + | ||
| 13 | +## Solution | ||
| 14 | + | ||
| 15 | +1. To use function subgraphs to convert a TensorFlow model, place the subgraph .proto description file in the same directory as the model file and name it graph\_def\_library.pbtxt. | ||
| 16 | +2. Run the func2graph.py script in the ATC installation directory to save the subgraphs to graph\_def\_library.pbtxt. | ||
| @@ -0,0 +1,23 @@ | |||
| 1 | +# E13000 File\_Operation\_Error\_Invalid\_Path | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: file path, error cause. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Path %s is empty. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Path /home/file is empty. Reason: [Error 2] No such file or directory. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Possible Cause | ||
| 18 | + | ||
| 19 | +The file does not exist. | ||
| 20 | + | ||
| 21 | +## Solution | ||
| 22 | + | ||
| 23 | +Try again with a valid directory. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E13001 File\_Operation\_Error\_Open | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: file path, error cause. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to open file %s. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to open file /home/json.json. Reason: [Error 13] Permission denied. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Please locate the issue based on the prompts in the Reason and provide the correct file. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E13002 Directory\_Operation\_Error\_Name\_Too\_Long | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: directory, length. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Directory %s is too long. Keep the length within %s characters. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Directory /home/demo/.../latest/test is too long. Keep the length within 4096 characters. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Please retry with valid directory. | ||
| @@ -0,0 +1,23 @@ | |||
| 1 | +# E13003 File\_Operation\_Error\_Read | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: file name, error cause. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to read file %s. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to read file /home/json.json. Reason: [Error 13] Permission denied. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Possible Cause | ||
| 18 | + | ||
| 19 | +Failed to read the file. | ||
| 20 | + | ||
| 21 | +## Solution | ||
| 22 | + | ||
| 23 | +Please locate the issue based on the prompts in the Reason and provide the correct file. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E13004 File\_Operation\_Error\_Write | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: file name, error cause. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to write file %s. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to write file /home/output. Reason: [Error 13] Permission denied. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Please locate the issue based on the prompts in the Reason and provide the correct file. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E13005 File\_Operation\_Error\_Parse | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the file name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to parse file %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to parse file /home/caffe.prototxt. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Check that a matched Protobuf version is installed and try again with a valid file. For details, see section "--framework" in ATC Instructions. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E13006 File\_Operation\_Error\_Parse | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: file type, file name, expected file type. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Type %s of file %s is incorrect. Expected type: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Type 00170000 of file /home/file is incorrect. Expected type: 0100000. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Please retry with valid file. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E13009 Invalid\_Argument\_Operator\_Name | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the op name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Operator %s already exists in the graph. Ensure that operator names are unique. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Operator add already exists in the graph. Ensure that operator names are unique. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Ensure that the operators in the graph have unique names. | ||
| @@ -0,0 +1,20 @@ | |||
| 1 | +# E13010 Not\_Supported\_Operator | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: op name, op type. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +No operator plugin is registered for Op: %s, optype: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +No operator plugin is registered for Op: acustom_op, optype: CustomOp. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +1. If the operator is a custom operator, register related deliverables. | ||
| 20 | +2. If the operator is a built-in operator, install the package that supports this operator version. | ||
| @@ -0,0 +1,25 @@ | |||
| 1 | +# E13014 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: parameter value, parameter name, op name, error cause. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s of parameter %s for Op %s is invalid. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example 1: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value shape range size for Op add is invalid. Reason: The tensor has dynamic dimensions, but the shape range is not empty. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +Error example 2: | ||
| 18 | + | ||
| 19 | +```text | ||
| 20 | +Value format for Op add is invalid. Reason: The format must be NCHW or NHWC in the dynamic AIPP scenario. | ||
| 21 | +``` | ||
| 22 | + | ||
| 23 | +## Solution | ||
| 24 | + | ||
| 25 | +Please input correct parameter value based on the prompts in the Reason, or refer to the official documentation for parameter usage instructions. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E13015 File\_Operation\_Error\_Invalid\_File\_Size | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: file name, file size, maximum. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +File %s has a size of %s, which is out of valid range (0, %s]. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +File /home/file.txt has a size of 2147483649, which is out of valid range (0, 2147483647]. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Please provide invalid file based on the prompts in the error message. | ||
| @@ -0,0 +1,23 @@ | |||
| 1 | +# E13018 File\_Operation\_Error\_Parse | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the file name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to parse file %s through google::protobuf::TextFormat::Parse. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to parse file /home/file.prototxt through google::protobuf::TextFormat::Parse. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Possible Cause | ||
| 18 | + | ||
| 19 | +The file may not be in valid Protobuf format. | ||
| 20 | + | ||
| 21 | +## Solution | ||
| 22 | + | ||
| 23 | +Check whether the Protobuf file is valid. | ||
| @@ -0,0 +1,23 @@ | |||
| 1 | +# E13023 Invalid\_Argument\_OM\_Model\_Size | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: model attribute name, memory size, maximum. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Model %s has a size of %s bytes, which exceeds system limit of %s bytes. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Model tiling data has a size of 4294967298 bytes, which exceeds system limit of 4294967295 bytes. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Possible Cause | ||
| 18 | + | ||
| 19 | +The generated OM model is too large and therefore cannot be dumped to the disk. | ||
| 20 | + | ||
| 21 | +## Solution | ||
| 22 | + | ||
| 23 | +Reduce the model size. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E13024 Config\_Error\_Invalid\_Environment\_Variable | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: environment value, environment name, error cause. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s for environment variable %s is invalid. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value 1 for environment variable VIRTUAL_TYPE is invalid. Reason: L1_fusion is not supported in the Ascend virtual instance scenario. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Reset the environment variable by referring to the setup guide. | ||
| @@ -0,0 +1,25 @@ | |||
| 1 | +# E13025 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the error cause. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Input tensor is invalid. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example 1: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Input tensor is invalid. Reason: Data indexes must be consecutive and start from 0 when the data shape range is enabled. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +Error example 2: | ||
| 18 | + | ||
| 19 | +```text | ||
| 20 | +Input tensor is invalid. Reason: The number of inputs/outputs provided by the user is inconsistent with that required by the model. | ||
| 21 | +``` | ||
| 22 | + | ||
| 23 | +## Solution | ||
| 24 | + | ||
| 25 | +Please input correct parameter value based on the prompts in the Reason, or refer to the official documentation for parameter usage instructions. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E13026 File\_Operation\_Error\_Invalid\_Path | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: file path, error cause. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Input path %s is invalid. Reason: %s | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Input path /home/file is invalid. Reason: It is not a real path. Please check your model path. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Please provide valid file path based on the prompts in the Reason | ||
| @@ -0,0 +1,23 @@ | |||
| 1 | +# E13027 Invalid\_Argument\_Network\_Connection | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the ip address. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to connect to the peer address %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to connect to the peer address 192.0.0.1. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Possible Cause | ||
| 18 | + | ||
| 19 | +The ipaddr, port or token is invalid. | ||
| 20 | + | ||
| 21 | +## Solution | ||
| 22 | + | ||
| 23 | +Check ipaddr, port or token in the configuration file, ensure that the configuration is correct. | ||
| @@ -0,0 +1,15 @@ | |||
| 1 | +# E13028 Compilation\_Error\_Execute\_Custom\_Fusion\_Pass | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: fusion pass name, return code, error cause. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to run custom fusion pass %s. Return code: %s. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +The fusion pattern is user-defined, and the pattern name, return code, and error cause are also user-defined. Therefore, the error example should be based on the user-defined scenario. | ||
| 12 | + | ||
| 13 | +## Solution | ||
| 14 | + | ||
| 15 | +Check the error log for details and verify whether the fusion logic is correct. | ||
| @@ -0,0 +1,23 @@ | |||
| 1 | +# E13029 Compilation\_Error\_Load\_Custom\_Fusion\_Pass | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: fusion pass library, error cause. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to load custom fusion pass lib %s. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to load custom fusion pass lib /custom_op.so. Reason: undefined symbol: _ZNK7c10_npu9NPUStream6streamEv. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Analyze the failure reason mentioned above. Below are some typical solutions for common dlopen failures: | ||
| 20 | + | ||
| 21 | +1. Verify that the library path is correct and the file exists. | ||
| 22 | +2. Ensure the library and its dependencies have the correct permissions. | ||
| 23 | +3. Check that all dependencies are available using the 'ldd' command. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E13030 Initialization\_Error\_Register\_Custom\_Fusion\_Pass | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: fusion pass name, error cause. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to get custom fusion pass func %s. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to get custom fusion pass func CustomOpPass. Reason: Custom stream allocation pass function is required in stage AfterBuiltinFusionPass, but got nullptr. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Check that custom pass registration is valid. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E13031 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the error cause. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Output tensor is invalid. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Output tensor is invalid. Reason: The output tensor memory size 100 is smaller than the actual size 128 required by tensor. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Please input correct parameter value based on the prompts in the Reason, or refer to the official documentation for parameter usage instructions. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E14001 Invalid\_Argument\_Operator\_Compilation\_Parameter | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: parameter value, op name, op type, error cause. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Argument %s for Op %s with optype %s is invalid. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Argument inputs size 2 for Op add with optype Add is invalid. Reason: Input size is not equal to tensor size. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Check whether the type, input, and output of the operator match the configured parameters. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E14002 Invalid\_Argument\_Tensor\_Attribute | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: attribute name, error cause. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +In the current process, the attribute of %s must be obtained successfully. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +In the current process, the attribute of storage_format must be obtained successfully. Reason: Failed to get storage shape from node Failed to get storage shape from node add. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +The attribute in the error message must be set for the operator. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E16001 Invalid\_Argument\_ONNX\_Model\_Data | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the node name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +The model has no %s node. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +The model has no input node. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Check whether the ONNX model contains the input node. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E16002 Invalid\_Argument\_ONNX\_Model\_Data | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the op type. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +No ONNX parser is registered for optype %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +No ONNX parser is registered for optype CustomOp. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Check the version of the installation package and reinstall the package. For details, see the installation reference. | ||
| @@ -0,0 +1,11 @@ | |||
| 1 | +# E16004 Invalid\_Argument\_ONNX\_Model\_Data | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +ONNX model has no graph. | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## Solution | ||
| 10 | + | ||
| 11 | +Invalid ONNX model. Modify the ONNX model and add the graph information. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E16005 Invalid\_Argument\_ONNX\_Model\_Data | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the domain version count. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +The model has %s --domain_version fields, but only one is allowed. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +The model has 2 --domain_version fields, but only one is allowed. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Invalid ONNX model. Modify the ONNX model. If no domain is specified on the operator node, only one domain can be specified on the model. | ||
| @@ -0,0 +1,15 @@ | |||
| 1 | +# E19999 Inner\_Error | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +Unknown error occurred. Please check the log. | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## Possible Cause | ||
| 10 | + | ||
| 11 | +System terminated abnormally without valid error messages. | ||
| 12 | + | ||
| 13 | +## Solution | ||
| 14 | + | ||
| 15 | +In this scenario, collect the logs generated when the fault occurs and locate the fault based on the logs. | ||
| @@ -0,0 +1,245 @@ | |||
| 1 | +# GE Errors | ||
| 2 | + | ||
| 3 | +- **[E10001 Invalid\_Argument](E10001-Invalid_Argument.md)** | ||
| 4 | + | ||
| 5 | +- **[E10002 Invalid\_Argument\_Tensor\_Input\_Shape](E10002-Invalid_Argument_Tensor_Input_Shape.md)** | ||
| 6 | + | ||
| 7 | +- **[E10003 Invalid\_Argument](E10003-Invalid_Argument.md)** | ||
| 8 | + | ||
| 9 | +- **[E10004 Invalid\_Argument](E10004-Invalid_Argument.md)** | ||
| 10 | + | ||
| 11 | +- **[E10005 Invalid\_Argument](E10005-Invalid_Argument.md)** | ||
| 12 | + | ||
| 13 | +- **[E10006 Invalid\_Argument](E10006-Invalid_Argument.md)** | ||
| 14 | + | ||
| 15 | +- **[E10007 Invalid\_Argument](E10007-Invalid_Argument.md)** | ||
| 16 | + | ||
| 17 | +- **[E10008 Invalid\_Argument](E10008-Invalid_Argument.md)** | ||
| 18 | + | ||
| 19 | +- **[E10009 Invalid\_Argument\_Tensor\_Dynamic\_Shape](E10009-Invalid_Argument_Tensor_Dynamic_Shape.md)** | ||
| 20 | + | ||
| 21 | +- **[E10010 Invalid\_Argument](E10010-Invalid_Argument.md)** | ||
| 22 | + | ||
| 23 | +- **[E10011 Invalid\_Argument\_Tensor\_Input\_Shape](E10011-Invalid_Argument_Tensor_Input_Shape.md)** | ||
| 24 | + | ||
| 25 | +- **[E10012 Invalid\_Argument\_Tensor\_Input\_Shape](E10012-Invalid_Argument_Tensor_Input_Shape.md)** | ||
| 26 | + | ||
| 27 | +- **[E10013 Invalid\_Argument](E10013-Invalid_Argument.md)** | ||
| 28 | + | ||
| 29 | +- **[E10014 Invalid\_Argument](E10014-Invalid_Argument.md)** | ||
| 30 | + | ||
| 31 | +- **[E10016 Invalid\_Argument\_Operator\_Name](E10016-Invalid_Argument_Operator_Name.md)** | ||
| 32 | + | ||
| 33 | +- **[E10017 Invalid\_Argument](E10017-Invalid_Argument.md)** | ||
| 34 | + | ||
| 35 | +- **[E10018 Invalid\_Argument\_Tensor\_Dynamic\_Shape](E10018-Invalid_Argument_Tensor_Dynamic_Shape.md)** | ||
| 36 | + | ||
| 37 | +- **[E10019 Invalid\_Argument\_Tensor\_Input\_Shape](E10019-Invalid_Argument_Tensor_Input_Shape.md)** | ||
| 38 | + | ||
| 39 | +- **[E10020 Invalid\_Argument](E10020-Invalid_Argument.md)** | ||
| 40 | + | ||
| 41 | +- **[E10021 Invalid\_Argument](E10021-Invalid_Argument.md)** | ||
| 42 | + | ||
| 43 | +- **[E10022 Invalid\_Argument](E10022-Invalid_Argument.md)** | ||
| 44 | + | ||
| 45 | +- **[E10023 Invalid\_Argument](E10023-Invalid_Argument.md)** | ||
| 46 | + | ||
| 47 | +- **[E10024 Invalid\_Argument](E10024-Invalid_Argument.md)** | ||
| 48 | + | ||
| 49 | +- **[E10025 Invalid\_Argument](E10025-Invalid_Argument.md)** | ||
| 50 | + | ||
| 51 | +- **[E10026 Invalid\_Argument](E10026-Invalid_Argument.md)** | ||
| 52 | + | ||
| 53 | +- **[E10027 Invalid\_Argument](E10027-Invalid_Argument.md)** | ||
| 54 | + | ||
| 55 | +- **[E10029 Invalid\_Argument](E10029-Invalid_Argument.md)** | ||
| 56 | + | ||
| 57 | +- **[E10030 Invalid\_Argument](E10030-Invalid_Argument.md)** | ||
| 58 | + | ||
| 59 | +- **[E10031 Invalid\_Argument\_Tensor\_Input\_Shape](E10031-Invalid_Argument_Tensor_Input_Shape.md)** | ||
| 60 | + | ||
| 61 | +- **[E10032 File\_Operation\_Error\_Parse](E10032-File_Operation_Error_Parse.md)** | ||
| 62 | + | ||
| 63 | +- **[E10034 Invalid\_Argument](E10034-Invalid_Argument.md)** | ||
| 64 | + | ||
| 65 | +- **[E10035 Invalid\_Argument\_Tensor\_Dynamic\_Shape](E10035-Invalid_Argument_Tensor_Dynamic_Shape.md)** | ||
| 66 | + | ||
| 67 | +- **[E10036 Invalid\_Argument\_Tensor\_Dynamic\_Shape](E10036-Invalid_Argument_Tensor_Dynamic_Shape.md)** | ||
| 68 | + | ||
| 69 | +- **[E10037 Invalid\_Argument\_Tensor\_Dynamic\_Shape](E10037-Invalid_Argument_Tensor_Dynamic_Shape.md)** | ||
| 70 | + | ||
| 71 | +- **[E10038 Invalid\_Argument\_Tensor\_Dynamic\_Shape](E10038-Invalid_Argument_Tensor_Dynamic_Shape.md)** | ||
| 72 | + | ||
| 73 | +- **[E10039 Invalid\_Argument\_Tensor\_Dynamic\_Shape](E10039-Invalid_Argument_Tensor_Dynamic_Shape.md)** | ||
| 74 | + | ||
| 75 | +- **[E10040 Invalid\_Argument\_Tensor\_Input\_Shape](E10040-Invalid_Argument_Tensor_Input_Shape.md)** | ||
| 76 | + | ||
| 77 | +- **[E10041 Invalid\_Argument\_Model](E10041-Invalid_Argument_Model.md)** | ||
| 78 | + | ||
| 79 | +- **[E10045 Invalid\_Argument\_Tensor\_Dynamic\_Shape](E10045-Invalid_Argument_Tensor_Dynamic_Shape.md)** | ||
| 80 | + | ||
| 81 | +- **[E10046 Invalid\_Argument\_Tensor\_Dynamic\_Shape](E10046-Invalid_Argument_Tensor_Dynamic_Shape.md)** | ||
| 82 | + | ||
| 83 | +- **[E10047 Invalid\_Argument](E10047-Invalid_Argument.md)** | ||
| 84 | + | ||
| 85 | +- **[E10048 Invalid\_Argument](E10048-Invalid_Argument.md)** | ||
| 86 | + | ||
| 87 | +- **[E10049 Invalid\_Argument\_Tensor\_Input\_Shape](E10049-Invalid_Argument_Tensor_Input_Shape.md)** | ||
| 88 | + | ||
| 89 | +- **[E10050 Invalid\_Argument\_Tensor\_Input\_Shape\_Range](E10050-Invalid_Argument_Tensor_Input_Shape_Range.md)** | ||
| 90 | + | ||
| 91 | +- **[E10051 Invalid\_Argument](E10051-Invalid_Argument.md)** | ||
| 92 | + | ||
| 93 | +- **[E10052 Invalid\_Argument](E10052-Invalid_Argument.md)** | ||
| 94 | + | ||
| 95 | +- **[E10054 Invalid\_Argument](E10054-Invalid_Argument.md)** | ||
| 96 | + | ||
| 97 | +- **[E10055 Not\_Supported](E10055-Not_Supported.md)** | ||
| 98 | + | ||
| 99 | +- **[E10056 Invalid\_Argument](E10056-Invalid_Argument.md)** | ||
| 100 | + | ||
| 101 | +- **[E10057 Invalid\_Argument](E10057-Invalid_Argument.md)** | ||
| 102 | + | ||
| 103 | +- **[E10058 Invalid\_Argument](E10058-Invalid_Argument.md)** | ||
| 104 | + | ||
| 105 | +- **[E10059 Invalid\_Argument](E10059-Invalid_Argument.md)** | ||
| 106 | + | ||
| 107 | +- **[E10060 Invalid\_Argument](E10060-Invalid_Argument.md)** | ||
| 108 | + | ||
| 109 | +- **[E10061 Invalid\_Argument](E10061-Invalid_Argument.md)** | ||
| 110 | + | ||
| 111 | +- **[E10062 Invalid\_Argument\_API\_Call\_Sequence](E10062-Invalid_Argument_API_Call_Sequence.md)** | ||
| 112 | + | ||
| 113 | +- **[E10063 Environment\_Error](E10063-Environment_Error.md)** | ||
| 114 | + | ||
| 115 | +- **[E10401 Invalid\_Argument\_Operator\_Input\_Count](E10401-Invalid_Argument_Operator_Input_Count.md)** | ||
| 116 | + | ||
| 117 | +- **[E10402 Invalid\_Argument\_Operator\_Input\_Buffer](E10402-Invalid_Argument_Operator_Input_Buffer.md)** | ||
| 118 | + | ||
| 119 | +- **[E10403 Invalid\_Argument\_Operator\_Output\_Count](E10403-Invalid_Argument_Operator_Output_Count.md)** | ||
| 120 | + | ||
| 121 | +- **[E10404 Invalid\_Argument\_Operator\_Output\_Buffer](E10404-Invalid_Argument_Operator_Output_Buffer.md)** | ||
| 122 | + | ||
| 123 | +- **[E10405 Invalid\_Argument](E10405-Invalid_Argument.md)** | ||
| 124 | + | ||
| 125 | +- **[E10406 Invalid\_Argument](E10406-Invalid_Argument.md)** | ||
| 126 | + | ||
| 127 | +- **[E10410 File\_Operation\_Error\_File\_Not\_Exist](E10410-File_Operation_Error_File_Not_Exist.md)** | ||
| 128 | + | ||
| 129 | +- **[E10501 Not\_Supported\_Operator](E10501-Not_Supported_Operator.md)** | ||
| 130 | + | ||
| 131 | +- **[E11001 Invalid\_Argument\_Caffe\_Model\_Data](E11001-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 132 | + | ||
| 133 | +- **[E11003 Invalid\_Argument\_Caffe\_Model\_Data](E11003-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 134 | + | ||
| 135 | +- **[E11004 Invalid\_Argument\_Caffe\_Model\_Data](E11004-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 136 | + | ||
| 137 | +- **[E11005 Invalid\_Argument\_Tensor\_Input\_Shape](E11005-Invalid_Argument_Tensor_Input_Shape.md)** | ||
| 138 | + | ||
| 139 | +- **[E11008 Invalid\_Argument\_Caffe\_Model\_Data](E11008-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 140 | + | ||
| 141 | +- **[E11009 Not\_Supported\_Operator](E11009-Not_Supported_Operator.md)** | ||
| 142 | + | ||
| 143 | +- **[E11012 Invalid\_Argument\_Caffe\_Model\_Data](E11012-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 144 | + | ||
| 145 | +- **[E11014 Invalid\_Argument\_Caffe\_Model\_Data](E11014-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 146 | + | ||
| 147 | +- **[E11015 Invalid\_Argument\_Caffe\_Model\_Data](E11015-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 148 | + | ||
| 149 | +- **[E11016 Invalid\_Argument](E11016-Invalid_Argument.md)** | ||
| 150 | + | ||
| 151 | +- **[E11017 Invalid\_Argument](E11017-Invalid_Argument.md)** | ||
| 152 | + | ||
| 153 | +- **[E11018 Invalid\_Argument\_Caffe\_Model\_Data](E11018-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 154 | + | ||
| 155 | +- **[E11021 Invalid\_Argument\_Caffe\_Model\_Data](E11021-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 156 | + | ||
| 157 | +- **[E11022 Invalid\_Argument\_Caffe\_Model\_Data](E11022-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 158 | + | ||
| 159 | +- **[E11023 Invalid\_Argument\_Caffe\_Model\_Data](E11023-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 160 | + | ||
| 161 | +- **[E11024 Invalid\_Argument\_Caffe\_Model\_Data](E11024-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 162 | + | ||
| 163 | +- **[E11027 Invalid\_Argument\_Caffe\_Model\_Data](E11027-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 164 | + | ||
| 165 | +- **[E11029 Invalid\_Argument\_Caffe\_Model\_Data](E11029-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 166 | + | ||
| 167 | +- **[E11032 Invalid\_Argument\_Caffe\_Model\_Data](E11032-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 168 | + | ||
| 169 | +- **[E11033 Invalid\_Argument\_Caffe\_Model\_Weight](E11033-Invalid_Argument_Caffe_Model_Weight.md)** | ||
| 170 | + | ||
| 171 | +- **[E11035 Invalid\_Argument\_Caffe\_Model\_Data](E11035-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 172 | + | ||
| 173 | +- **[E11036 Invalid\_Argument\_Caffe\_Model\_Data](E11036-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 174 | + | ||
| 175 | +- **[E11037 Invalid\_Argument\_Caffe\_Model\_Data](E11037-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 176 | + | ||
| 177 | +- **[E12004 Invalid\_Argument\_Operator\_Input\_Index](E12004-Invalid_Argument_Operator_Input_Index.md)** | ||
| 178 | + | ||
| 179 | +- **[E12009 Invalid\_Argument\_TensorFlow\_Model\_Data](E12009-Invalid_Argument_TensorFlow_Model_Data.md)** | ||
| 180 | + | ||
| 181 | +- **[E12013 Invalid\_Argument\_TensorFlow\_Model\_Data](E12013-Invalid_Argument_TensorFlow_Model_Data.md)** | ||
| 182 | + | ||
| 183 | +- **[E12029 Invalid\_Argument\_TensorFlow\_Model\_Data](E12029-Invalid_Argument_TensorFlow_Model_Data.md)** | ||
| 184 | + | ||
| 185 | +- **[E13000 File\_Operation\_Error\_Invalid\_Path](E13000-File_Operation_Error_Invalid_Path.md)** | ||
| 186 | + | ||
| 187 | +- **[E13001 File\_Operation\_Error\_Open](E13001-File_Operation_Error_Open.md)** | ||
| 188 | + | ||
| 189 | +- **[E13002 Directory\_Operation\_Error\_Name\_Too\_Long](E13002-Directory_Operation_Error_Name_Too_Long.md)** | ||
| 190 | + | ||
| 191 | +- **[E13003 File\_Operation\_Error\_Read](E13003-File_Operation_Error_Read.md)** | ||
| 192 | + | ||
| 193 | +- **[E13004 File\_Operation\_Error\_Write](E13004-File_Operation_Error_Write.md)** | ||
| 194 | + | ||
| 195 | +- **[E13005 File\_Operation\_Error\_Parse](E13005-File_Operation_Error_Parse.md)** | ||
| 196 | + | ||
| 197 | +- **[E13006 File\_Operation\_Error\_Parse](E13006-File_Operation_Error_Parse.md)** | ||
| 198 | + | ||
| 199 | +- **[E13009 Invalid\_Argument\_Operator\_Name](E13009-Invalid_Argument_Operator_Name.md)** | ||
| 200 | + | ||
| 201 | +- **[E13010 Not\_Supported\_Operator](E13010-Not_Supported_Operator.md)** | ||
| 202 | + | ||
| 203 | +- **[E13014 Invalid\_Argument](E13014-Invalid_Argument.md)** | ||
| 204 | + | ||
| 205 | +- **[E13015 File\_Operation\_Error\_Invalid\_File\_Size](E13015-File_Operation_Error_Invalid_File_Size.md)** | ||
| 206 | + | ||
| 207 | +- **[E13018 File\_Operation\_Error\_Parse](E13018-File_Operation_Error_Parse.md)** | ||
| 208 | + | ||
| 209 | +- **[E13023 Invalid\_Argument\_OM\_Model\_Size](E13023-Invalid_Argument_OM_Model_Size.md)** | ||
| 210 | + | ||
| 211 | +- **[E13024 Config\_Error\_Invalid\_Environment\_Variable](E13024-Config_Error_Invalid_Environment_Variable.md)** | ||
| 212 | + | ||
| 213 | +- **[E13025 Invalid\_Argument](E13025-Invalid_Argument.md)** | ||
| 214 | + | ||
| 215 | +- **[E13026 File\_Operation\_Error\_Invalid\_Path](E13026-File_Operation_Error_Invalid_Path.md)** | ||
| 216 | + | ||
| 217 | +- **[E13027 Invalid\_Argument\_Network\_Connection](E13027-Invalid_Argument_Network_Connection.md)** | ||
| 218 | + | ||
| 219 | +- **[E13028 Compilation\_Error\_Execute\_Custom\_Fusion\_Pass](E13028-Compilation_Error_Execute_Custom_Fusion_Pass.md)** | ||
| 220 | + | ||
| 221 | +- **[E13029 Compilation\_Error\_Load\_Custom\_Fusion\_Pass](E13029-Compilation_Error_Load_Custom_Fusion_Pass.md)** | ||
| 222 | + | ||
| 223 | +- **[E13030 Initialization\_Error\_Register\_Custom\_Fusion\_Pass](E13030-Initialization_Error_Register_Custom_Fusion_Pass.md)** | ||
| 224 | + | ||
| 225 | +- **[E13031 Invalid\_Argument](E13031-Invalid_Argument.md)** | ||
| 226 | + | ||
| 227 | +- **[E14001 Invalid\_Argument\_Operator\_Compilation\_Parameter](E14001-Invalid_Argument_Operator_Compilation_Parameter.md)** | ||
| 228 | + | ||
| 229 | +- **[E14002 Invalid\_Argument\_Tensor\_Attribute](E14002-Invalid_Argument_Tensor_Attribute.md)** | ||
| 230 | + | ||
| 231 | +- **[E16001 Invalid\_Argument\_ONNX\_Model\_Data](E16001-Invalid_Argument_ONNX_Model_Data.md)** | ||
| 232 | + | ||
| 233 | +- **[E16002 Invalid\_Argument\_ONNX\_Model\_Data](E16002-Invalid_Argument_ONNX_Model_Data.md)** | ||
| 234 | + | ||
| 235 | +- **[E16004 Invalid\_Argument\_ONNX\_Model\_Data](E16004-Invalid_Argument_ONNX_Model_Data.md)** | ||
| 236 | + | ||
| 237 | +- **[E16005 Invalid\_Argument\_ONNX\_Model\_Data](E16005-Invalid_Argument_ONNX_Model_Data.md)** | ||
| 238 | + | ||
| 239 | +- **[W11001 Performance\_Not\_Optimal\_Operator](W11001-Performance_Not_Optimal_Operator.md)** | ||
| 240 | + | ||
| 241 | +- **[W11002 Config\_Error\_Weight\_Configuration](W11002-Config_Error_Weight_Configuration.md)** | ||
| 242 | + | ||
| 243 | +- **[W11003 Config\_Error\_Operator\_Missing\_Implementation](W11003-Config_Error_Operator_Missing_Implementation.md)** | ||
| 244 | + | ||
| 245 | +- **[E19999 Inner\_Error](E19999-Inner_Error.md)** | ||
| @@ -0,0 +1,23 @@ | |||
| 1 | +# W11001 Performance\_Not\_Optimal\_Operator | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The placeholder %s indicates the op name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Op %s does not hit the high-priority operator information library, which might result in compromised performance. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Op add does not hit the high-priority operator information library, which might result in compromised performance. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Possible Cause | ||
| 18 | + | ||
| 19 | +The operator does not hit the high-priority operator information library, which might result in compromised performance. | ||
| 20 | + | ||
| 21 | +## Solution | ||
| 22 | + | ||
| 23 | +Submit an issue to request for support at <https://gitcode.com/cann>. | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# W11002 Config\_Error\_Weight\_Configuration | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: file name, op name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +In the compression weight configuration file %s, some nodes do not exist in graph: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +In the compression weight configuration file xxx, some nodes do not exist in graph: graph_name. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Solution | ||
| 18 | + | ||
| 19 | +Check whether the weight file matches the model file. | ||
| @@ -0,0 +1,23 @@ | |||
| 1 | +# W11003 Config\_Error\_Operator\_Missing\_Implementation | ||
| 2 | + | ||
| 3 | +## Symptom | ||
| 4 | + | ||
| 5 | +The following is error format. The meanings of the placeholders %s in sequence are: op name, implementation name. | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Operator %s lacks required %s implementation. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +Error example: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Operator CustomAdd lacks required InferShape implementation. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## Possible Cause | ||
| 18 | + | ||
| 19 | +Incomplete operator implementation. | ||
| 20 | + | ||
| 21 | +## Solution | ||
| 22 | + | ||
| 23 | +Ensure that all required operator implementations\(e.g., tiling\) are provided. See the operator developer guide for details. | ||
| @@ -33,9 +33,12 @@ export ASCEND_MAX_OP_CACHE_SIZE=500 | |||
| 33 | 不同场景下指定算子编译磁盘缓存目录的方法不同,例如: | 33 | 不同场景下指定算子编译磁盘缓存目录的方法不同,例如: |
| 34 | 34 | ||
| 35 | - 基于acl接口开发AI应用场景下,可在[aclCompileOpt](../../api/graph_engine_api/c/acl/aclCompileOpt.md)接口中通过编译选项ACL\_OP\_COMPILER\_CACHE\_DIR设置。 | 35 | - 基于acl接口开发AI应用场景下,可在[aclCompileOpt](../../api/graph_engine_api/c/acl/aclCompileOpt.md)接口中通过编译选项ACL\_OP\_COMPILER\_CACHE\_DIR设置。 |
| 36 | -- 图开发下,可通过配置参数[ge.op\_compiler\_cache\_dir](../../api/graph_engine_api/cpp/ge/options_params/operator_and_graph_compilation.md#geop_compiler_cache_dir)设置。 | 36 | +- 图开发场景下,可通过配置参数[ge.op\_compiler\_cache\_dir](../../api/graph_engine_api/cpp/ge/options_params/operator_and_graph_compilation.md#geop_compiler_cache_dir)设置。 |
| 37 | - ATC离线模型转换场景下,可通过参数[--op\_compiler\_cache\_dir](../atc_tools/CLI_options/--op_compiler_cache_dir.md)设置。 | 37 | - ATC离线模型转换场景下,可通过参数[--op\_compiler\_cache\_dir](../atc_tools/CLI_options/--op_compiler_cache_dir.md)设置。 |
| 38 | +<!-- npu="950,A3,910b,910" id1 --> | ||
| 38 | - PyTorch框架场景下,可通过环境变量“ACL\_OP\_COMPILER\_CACHE\_DIR”设置,关于“ACL\_OP\_COMPILER\_CACHE\_DIR”的介绍可参见《[TorchNPU环境变量](https://www.hiascend.com/document/detail/zh/Pytorch/latest/apiref/ENV/docs/zh/environment_variable_reference/env_variable_list.md)》。 | 39 | - PyTorch框架场景下,可通过环境变量“ACL\_OP\_COMPILER\_CACHE\_DIR”设置,关于“ACL\_OP\_COMPILER\_CACHE\_DIR”的介绍可参见《[TorchNPU环境变量](https://www.hiascend.com/document/detail/zh/Pytorch/latest/apiref/ENV/docs/zh/environment_variable_reference/env_variable_list.md)》。 |
| 40 | +<!-- end id1 --> | ||
| 41 | +<!-- npu="950,A3,910b,910,310p" id2 --> | ||
| 39 | - TensorFlow框架场景下,可通过配置参数“op\_compiler\_cache\_dir”设置。 | 42 | - TensorFlow框架场景下,可通过配置参数“op\_compiler\_cache\_dir”设置。 |
| 40 | 43 | ||
| 41 | TF Adapter配置参数“op\_compiler\_cache\_dir”的详细说明可参见: | 44 | TF Adapter配置参数“op\_compiler\_cache\_dir”的详细说明可参见: |
| @@ -43,6 +46,7 @@ export ASCEND_MAX_OP_CACHE_SIZE=500 | |||
| 43 | - 《[TensorFlow 1.15模型迁移](https://hiascend.com/document/redirect/tfcommunityguide)》中的TF Adapter 1.x接口参考 \> session配置 \> session配置参数说明。 | 46 | - 《[TensorFlow 1.15模型迁移](https://hiascend.com/document/redirect/tfcommunityguide)》中的TF Adapter 1.x接口参考 \> session配置 \> session配置参数说明。 |
| 44 | - 《[TensorFlow 2.6.5模型迁移](https://hiascend.com/document/redirect/tfcommunityguide)》中的TF Adapter 2.x接口参考 \> npu.global\_options \> 配置参数说明。 | 47 | - 《[TensorFlow 2.6.5模型迁移](https://hiascend.com/document/redirect/tfcommunityguide)》中的TF Adapter 2.x接口参考 \> npu.global\_options \> 配置参数说明。 |
| 45 | 48 | ||
| 49 | +<!-- end id2 --> | ||
| 46 | > [!NOTE]说明 | 50 | > [!NOTE]说明 |
| 47 | >以上列举场景仅为示例,若无法覆盖您所使用的场景,请查看对应场景的用户手册。 | 51 | >以上列举场景仅为示例,若无法覆盖您所使用的场景,请查看对应场景的用户手册。 |
| 48 | 52 | ||
| @@ -26,16 +26,20 @@ export ASCEND_REMAIN_CACHE_SIZE_RATIO=50 | |||
| 26 | 26 | ||
| 27 | 不同场景下指定算子编译磁盘缓存目录的方法不同,例如: | 27 | 不同场景下指定算子编译磁盘缓存目录的方法不同,例如: |
| 28 | 28 | ||
| 29 | -- 基于AscendCL接口开发AI应用场景下,可在“aclCompileOpt”接口中通过编译选项ACL\_OP\_COMPILER\_CACHE\_DIR设置。 | 29 | +- 基于acl接口开发AI应用场景下,可在“aclCompileOpt”接口中通过编译选项ACL\_OP\_COMPILER\_CACHE\_DIR设置。 |
| 30 | -- Ascend Graph构图场景下,可通过配置参数“ge.op\_compiler\_cache\_dir”设置。 | 30 | +- 图开发场景下,可通过配置参数“ge.op\_compiler\_cache\_dir”设置。 |
| 31 | -- ATC模型转换场景下,可通过参数“--op\_compiler\_cache\_dir”设置。 | 31 | +- ATC离线模型转换场景下,可通过参数“--op\_compiler\_cache\_dir”设置。 |
| 32 | +<!-- npu="950,A3,910b,910" id1 --> | ||
| 32 | - PyTorch框架场景下,可通过环境变量“ACL\_OP\_COMPILER\_CACHE\_DIR”设置,关于“ACL\_OP\_COMPILER\_CACHE\_DIR”的介绍可参见《[TorchNPU环境变量](https://www.hiascend.com/document/detail/zh/Pytorch/latest/apiref/ENV/docs/zh/environment_variable_reference/env_variable_list.md)》。 | 33 | - PyTorch框架场景下,可通过环境变量“ACL\_OP\_COMPILER\_CACHE\_DIR”设置,关于“ACL\_OP\_COMPILER\_CACHE\_DIR”的介绍可参见《[TorchNPU环境变量](https://www.hiascend.com/document/detail/zh/Pytorch/latest/apiref/ENV/docs/zh/environment_variable_reference/env_variable_list.md)》。 |
| 34 | +<!-- end id1 --> | ||
| 35 | +<!-- npu="950,A3,910b,910,310p" id2 --> | ||
| 33 | - TensorFlow框架场景下,可通过配置参数“op\_compiler\_cache\_dir”设置。 | 36 | - TensorFlow框架场景下,可通过配置参数“op\_compiler\_cache\_dir”设置。 |
| 34 | 37 | ||
| 35 | TF Adapter配置参数“op\_compiler\_cache\_dir”的详细说明可参见: | 38 | TF Adapter配置参数“op\_compiler\_cache\_dir”的详细说明可参见: |
| 36 | 39 | ||
| 37 | - 《[TensorFlow 1.15模型迁移](https://hiascend.com/document/redirect/tfcommunityguide)》中的TF Adapter 1.x接口参考 \> session配置 \> session配置参数说明。 | 40 | - 《[TensorFlow 1.15模型迁移](https://hiascend.com/document/redirect/tfcommunityguide)》中的TF Adapter 1.x接口参考 \> session配置 \> session配置参数说明。 |
| 38 | - 《[TensorFlow 2.6.5模型迁移](https://hiascend.com/document/redirect/tfcommunityguide)》中的TF Adapter 2.x接口参考 \> npu.global\_options \> 配置参数说明。 | 41 | - 《[TensorFlow 2.6.5模型迁移](https://hiascend.com/document/redirect/tfcommunityguide)》中的TF Adapter 2.x接口参考 \> npu.global\_options \> 配置参数说明。 |
| 42 | +<!-- end id2 --> | ||
| 39 | 43 | ||
| 40 | > [!NOTE]说明 | 44 | > [!NOTE]说明 |
| 41 | > | 45 | > |
| @@ -25,6 +25,8 @@ export IGNORE_INFER_ERROR=1 | |||
| 25 | 25 | ||
| 26 | ## 产品支持情况 | 26 | ## 产品支持情况 |
| 27 | 27 | ||
| 28 | +<!-- npu="950,A3,910b,910,310p,310b" id1 --> | ||
| 28 | 全量芯片支持 | 29 | 全量芯片支持 |
| 30 | +<!-- end id1 --> | ||
| 29 | 31 | ||
| 30 | <!-- @ref: ge/res/docs/zh/user_guides/env_vars/IGNORE_INFER_ERROR_res.md#id1 --> | 32 | <!-- @ref: ge/res/docs/zh/user_guides/env_vars/IGNORE_INFER_ERROR_res.md#id1 --> |
| @@ -4,7 +4,7 @@ | |||
| 4 | 4 | ||
| 5 | 此环境变量用于控制模型转换时是否使用单线程编译。 | 5 | 此环境变量用于控制模型转换时是否使用单线程编译。 |
| 6 | 6 | ||
| 7 | -转换模型时,由于系统内部可能会启用不同的线程进行编译,会导致多次编译出来的om模型文件的hash值不同,但并不会影响om模型文件的功能,如果对多次编译的om模型文件有一致性的要求,则需将MULTI\_THREAD\_COMPILE环境变量取值设置为0,该环境变量的取值说明如下: | 7 | +<!-- @ref: ge/res/docs/zh/user_guides/env_vars/MULTI_THREAD_COMPILE_res.md#id1 --> |
| 8 | 8 | ||
| 9 | - 0:开启单线程编译 | 9 | - 0:开启单线程编译 |
| 10 | - 1:(默认值)开启多线程编译 | 10 | - 1:(默认值)开启多线程编译 |
| @@ -0,0 +1,31 @@ | |||
| 1 | +# E10001 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为参数值、参数名、报错原因: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s for parameter %s is invalid. Reason: %s | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例1如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value 2 for parameter ge.exec.enableDump is invalid. Reason: The value must be 1 or 0. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +报错示例2如下: | ||
| 18 | + | ||
| 19 | +```text | ||
| 20 | +Value -1 for parameter ge.exec.hostSchedulingMaxThreshold is invalid. Reason: The current value is not within the valid range. The valid range is [0, INT64_MAX]. | ||
| 21 | +``` | ||
| 22 | + | ||
| 23 | +报错示例3如下: | ||
| 24 | + | ||
| 25 | +```text | ||
| 26 | +Value FORMAT_ALL for parameter --input_format is invalid. Reason: The current value is not within the valid range. | ||
| 27 | +``` | ||
| 28 | + | ||
| 29 | +## 解决方法 | ||
| 30 | + | ||
| 31 | +需按照Reason中的提示输入正确的参数值,或参考官方文档查看相关参数的使用说明。 | ||
| @@ -0,0 +1,25 @@ | |||
| 1 | +# E10002 Invalid\_Argument\_Tensor\_Input\_Shape | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为参数值、报错原因、配置示例: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s for parameter --input_shape is invalid. Reason: %s. The value must be formatted as %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例1如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value n1~n2,c1,h1,w1 for parameter --input_shape is invalid. Reason: The shape must contain two parts: name and value. The value must be formatted as "input_name1:n1~n2,c1,h1,w1". | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +报错示例2如下: | ||
| 18 | + | ||
| 19 | +```text | ||
| 20 | +Value input_name1:1.1,3,224,224 for parameter --input_shape is invalid. Reason: The float number is unsupported. The value must be formatted as "input_name1:1,3,224,224". | ||
| 21 | +``` | ||
| 22 | + | ||
| 23 | +## 解决方法 | ||
| 24 | + | ||
| 25 | +--input\_shape参数值的有效格式为:input\_name1:n1,c1,h1,w1;input\_name2:n2,c2,h2,w2。其中,input\_name替换为节点名称。请确保Shape值均为整数。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10003 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为参数值、参数名、报错原因: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s for parameter --%s is invalid. Reason: %s | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例1如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value 1.1,2,4,8 for parameter --dynamic_batch_size is invalid. Reason: It can only contain digits and ",". | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +需按照Reason中的提示输入正确的参数值,或参考官方文档查看相关参数的使用说明。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10004 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示参数名: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value for --%s is empty. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value for --input_shape is empty. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +设置有效的参数值。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10005 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为参数值、参数名: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s for parameter --%s is invalid. The value must be either true or false. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value enable for parameter --is_input_adjust_hw_layout is invalid. The value must be either true or false. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +请设置有效的参数值,参数值只能是true或false。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10006 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为参数值、参数名: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s for parameter --%s is invalid. The value must be either 1 or 0. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value 2 for parameter --sparsity is invalid. The value must be either 1 or 0. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +请设置有效的参数值,参数值只能是1或0。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10007 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为参数名、期望值: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +--%s is required. The value must be %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +--framework is required. The value must be 0(Caffe) or 1(MindSpore) or 3(TensorFlow) or 5(Onnx). | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +请设置有效的参数值。 | ||
| @@ -0,0 +1,12 @@ | |||
| 1 | +# E10008 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +--weight must not be empty when --framework is set to 0 (Caffe). | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## 解决方法 | ||
| 10 | + | ||
| 11 | +- 如果源模型框架是Caffe,请尝试使用有效的--weight参数重新运行。 | ||
| 12 | +- 如果源模型框架不是Caffe,请尝试使用有效的--framework参数重新运行。 | ||
| @@ -0,0 +1,12 @@ | |||
| 1 | +# E10009 Invalid\_Argument\_Tensor\_Dynamic\_Shape | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +--dynamic_batch_size, --dynamic_image_size, --input_shape_range, and --dynamic_dims are mutually exclusive. | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## 解决方法 | ||
| 10 | + | ||
| 11 | +1. 在动态Shape场景中,请在命令行中仅包含这些参数中的一个。 | ||
| 12 | +2. 在静态Shape场景中,请从命令行中移除这些参数。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10010 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示参数值: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s for parameter --log is invalid. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value bug for parameter --log is invalid. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +请从debug、info、warning、error或null中选择一个值。 | ||
| @@ -0,0 +1,20 @@ | |||
| 1 | +# E10011 Invalid\_Argument\_Tensor\_Input\_Shape | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为参数值、参数名、报错原因: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s for parameter --input_shape is invalid. Shape values must be positive integers. The error value in the shape is %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value [-1,2,3,4] for parameter --input_shape is invalid. Shape values must be positive integers. The error value in the shape is -1. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +- 在静态Shape场景下,将--input\_shape中的shape值设置为正整数。 | ||
| 20 | +- 在动态shape场景下,请在命令行中添加相关的动态输入选项,例如--dynamic\_batch\_size、--dynamic\_image\_size或--dynamic\_dims。 | ||
| @@ -0,0 +1,12 @@ | |||
| 1 | +# E10012 Invalid\_Argument\_Tensor\_Input\_Shape | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +--dynamic_batch_size is included, but the dimension count of the dynamic-shape input configured in --input_shape is less than 1. | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## 解决方法 | ||
| 10 | + | ||
| 11 | +- 在静态Shape场景下,从命令行中移除--dynamic\_batch\_size选项。 | ||
| 12 | +- 在动态Shape场景下,将--input\_shape中动态Shape输入的对应轴设置为-1。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10013 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为参数值、参数名: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s for --%s is out of range. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value 99999999999999999999 for --input_shape is out of range. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +运行“atc -h”命令查看相关参数的使用方法,详情请参见官方文档中的ATC工具使用说明。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10014 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为参数值、参数名: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s for parameter --%s is invalid. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value abc for parameter --input_shape is invalid. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +运行“atc -h”命令查看相关参数的使用方法,详情请参见官方文档中的ATC工具使用说明。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10016 Invalid\_Argument\_Operator\_Name | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为算子名称、参数名: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Op name %s specified in --%s is not found in the model. Confirm whether this node name exists, or whether the node is not split with the specified delimiter ';'. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Op name invalid_op specified in --input_shape is not found in the model. Confirm whether this node name exists, or whether the node is not split with the specified delimiter ';'. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +指定Graph中已有节点的名称。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10017 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为算子名称、参数名: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Input Op %s specified in --%s is invalid. The Op type must be Data. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Input Op input1 specified in --input_shape is invalid. The Op type must be Data. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +需按照错误提示输入正确的值。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10018 Invalid\_Argument\_Tensor\_Dynamic\_Shape | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为Shape、index: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s for shape %s is invalid. When --dynamic_batch_size is included, only batch size N can be -1 in --input_shape. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value -1 for shape 1 is invalid. When --dynamic_batch_size is included, only batch size N can be -1 in --input_shape. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +请使用有效的--input\_shape参数值重试,确保除batch size之外,其他维度的值不为-1。 | ||
| @@ -0,0 +1,11 @@ | |||
| 1 | +# E10019 Invalid\_Argument\_Tensor\_Input\_Shape | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +When --dynamic_image_size is included, only the height and width axes can be -1 in --input_shape. | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## 解决方法 | ||
| 10 | + | ||
| 11 | +请使用有效的--input\_shape参数值重试,确保除高度和宽度之外,其他维度值不为-1。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10020 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示参数值: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s for parameter --dynamic_image_size is invalid. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value 1,2,3;4,5,6 for parameter --dynamic_image_size is invalid. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +该值必须格式化为"imagesize1\_height,imagesize1\_width;imagesize2\_height,imagesize2\_width",请确保每个配置项都有两个维度。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10021 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为参数名、期望值: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Path for parameter --%s is too long. Keep the length within %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Path for parameter --output is too long. Keep the length within 4096. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +路径名称超出最大长度,请指定一个有效的路径名称。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10022 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为路径、参数名: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Path %s for parameter --%s does not include the file name. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Path / for parameter --output does not include the file name. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +将文件名添加到路径中。 | ||
| @@ -0,0 +1,23 @@ | |||
| 1 | +# E10023 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示参数值: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s for parameter --singleop is invalid. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value &* for parameter --singleop is invalid. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 可能原因 | ||
| 18 | + | ||
| 19 | +路径不存在或文件名不正确。 | ||
| 20 | + | ||
| 21 | +## 解决方法 | ||
| 22 | + | ||
| 23 | +请检查输入文件是否存在。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10024 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示文件名: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to open file %s specified by --singleop. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to open file /home/singleop.json specified by --singleop. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +检查文件的用户属组和权限设置,确保运行atc命令的用户具有足够的权限来打开该文件。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10025 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为文件名、报错原因: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +File %s specified by --singleop is not a valid JSON file. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +File /home/singleop.json specified by --singleop is not a valid JSON file. Reason: ios_base::clear: unspecified iostream_category error. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +检查文件是否为有效的JSON格式。 | ||
| @@ -0,0 +1,11 @@ | |||
| 1 | +# E10026 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +The Op name is empty in the file specified by --singleop. | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## 解决方法 | ||
| 10 | + | ||
| 11 | +检查文件中算子名称是否为空。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10027 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为属性名称、输入或输出、tensor index、算子名称: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Attribute %s of %s tensor %s for Op %s is invalid when --singleop is specified. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Attribute datatype of input tensor 1 for Op Add is invalid when --singleop is specified. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +请使用有效的tensor dtype和format。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10029 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示算子名称: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Attribute name of Op %s is empty in the file specified by --singleop. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Attribute name of Op Add is empty in the file specified by --singleop. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +检查文件中算子属性名称是否为空。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10030 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为属性名称、算子名称: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +There is an invalid value for attribute name %s of Op %s in the file specified by --singleop. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +There is an invalid value for attribute name datatype of Op Add in the file specified by --singleop. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +检查文件中算子属性值是否有效。 | ||
| @@ -0,0 +1,16 @@ | |||
| 1 | +# E10031 Invalid\_Argument\_Tensor\_Input\_Shape | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +--dynamic_batch_size is included, but none of the nodes specified in --input_shape has a batch size equaling -1. | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## 可能原因 | ||
| 10 | + | ||
| 11 | +由于命令行中包含了--dynamic\_batch\_size参数,请确保在--input\_shape参数中指定的节点中至少有一个节点的batch size等于-1。 | ||
| 12 | + | ||
| 13 | +## 解决方法 | ||
| 14 | + | ||
| 15 | +1. 在静态Shape场景下,从命令行中移除--dynamic\_batch\_size参数。 | ||
| 16 | +2. 在动态shape场景下,需要将--input\_shape中动态shape输入的对应轴设置为-1。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10032 File\_Operation\_Error\_Parse | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为文件名、报错原因: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to parse JSON file %s. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to parse JSON file /home/singleop.json. Reason: [json.exception.out_of_range.401] array index 5 is out of range. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +检查JSON文件是否有效。 | ||
| @@ -0,0 +1,20 @@ | |||
| 1 | +# E10034 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示算子名称: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Nodes (for example, %s) connected to AIPP must not be of type FP16. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Nodes (for example, Add) connected to AIPP must not be of type FP16. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +- 若要启用AIPP(Artificial Intelligence Pre-Processing,人工智能预处理)功能,需从--input\_fp16\_nodes参数中删除与AIPP连接的节点。 | ||
| 20 | +- 若无需启用AIPP功能 ,可atc命令中移除--insert\_op\_conf参数。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10035 Invalid\_Argument\_Tensor\_Dynamic\_Shape | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为Shape size、Shape size最小值: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +--dynamic_batch_size, --dynamic_image_size, or --dynamic_dims has %s profiles, which is less than the minimum %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +--dynamic_batch_size, --dynamic_image_size, or --dynamic_dims has 1 profiles, which is less than the minimum 2. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +确保在--dynamic\_batch\_size、--dynamic\_image\_size或--dynamic\_dims中配置的档位数量至少为最小值。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10036 Invalid\_Argument\_Tensor\_Dynamic\_Shape | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为Shape size、Shape size最大值: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +--dynamic_batch_size, --dynamic_image_size, or --dynamic_dims has %s profiles, which is greater than the maximum %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +--dynamic_batch_size, --dynamic_image_size, or --dynamic_dims has 1024 profiles, which is greater than the maximum 100. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +确保在--dynamic\_batch\_size、--dynamic\_image\_size或--dynamic\_dims中配置的档位数量不超过最大值。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10037 Invalid\_Argument\_Tensor\_Dynamic\_Shape | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s都表示维度数量: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +The profiles configured in --dynamic_batch_size, --dynamic_image_size, or --dynamic_dims have inconsistent dimension counts. A profile has %s dimensions while another has %s dimensions. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +The profiles configured in --dynamic_batch_size, --dynamic_image_size, or --dynamic_dims have inconsistent dimension counts. A profile has 4 dimensions while another has 8 dimensions. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +确保在--dynamic\_batch\_size、--dynamic\_image\_size或--dynamic\_dims中配置的各档位数据具有相同的维度数量。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10038 Invalid\_Argument\_Tensor\_Dynamic\_Shape | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示维度值: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Dimension size %s is invalid. The value must be greater than 0. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Dimension size -1 is invalid. The value must be greater than 0. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +在--dynamic\_batch\_size、--dynamic\_image\_size或--dynamic\_dims参数值中,将每个档位的值设置为正值。 | ||
| @@ -0,0 +1,11 @@ | |||
| 1 | +# E10039 Invalid\_Argument\_Tensor\_Dynamic\_Shape | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +The --dynamic_batch_size, --dynamic_image_size, or --dynamic_dims argument has duplicate profiles. | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## 解决方法 | ||
| 10 | + | ||
| 11 | +在--dynamic\_batch\_size、--dynamic\_image\_size或--dynamic\_dims参数值中,检查每个档位的值是否唯一。 | ||
| @@ -0,0 +1,13 @@ | |||
| 1 | +# E10040 Invalid\_Argument\_Tensor\_Input\_Shape | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +As the --dynamic_batch_size, --dynamic_image_size, or --dynamic_dims argument is included, the corresponding nodes specified in --input_shape must have -1 axes and cannot have '~'. | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## 解决方法 | ||
| 10 | + | ||
| 11 | +- 静态shape场景下,从命令行中移除--dynamic\_batch\_size、--dynamic\_image\_size或--dynamic\_dims参数。 | ||
| 12 | +- 动态多batch场景下,在--input\_shape参数中将动态shape输入的batch size设置为-1。 | ||
| 13 | +- 动态Shape场景下,从命令行中删除--dynamic\_batch\_size、--dynamic\_image\_size或--dynamic\_dims参数,并将--input\_shape设置为-1或设置range值范围。 | ||
| @@ -0,0 +1,21 @@ | |||
| 1 | +# E10041 Invalid\_Argument\_Model | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示文件名: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to load the model from %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to load the model from /home/offline.om. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +1. 检查模型文件是否有效。 | ||
| 20 | +2. 当模型大小超过2GB时,检查权重文件或路径是否有效。 | ||
| 21 | +3. 检查--framework参数值是否与模型文件的实际框架匹配。 | ||
| @@ -0,0 +1,11 @@ | |||
| 1 | +# E10045 Invalid\_Argument\_Tensor\_Dynamic\_Shape | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +The number of -1 axes in the --input_shape argument exceeds the dimension count per profile in --dynamic_dims. | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## 解决方法 | ||
| 10 | + | ||
| 11 | +确保--input\_shape参数中-1的数量与--dynamic\_dims中每个档位的维度数量相匹配。 | ||
| @@ -0,0 +1,11 @@ | |||
| 1 | +# E10046 Invalid\_Argument\_Tensor\_Dynamic\_Shape | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +The total number of -1 axes in the --input_shape argument is greater than the dimension count per profile in --dynamic_dims. | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## 解决方法 | ||
| 10 | + | ||
| 11 | +确保--input\_shape参数中-1轴的总数小于--dynamic\_dims中每个档位的维度数量。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10047 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s都表示参数名: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +--%s and --%s are mutually exclusive. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +--enable_compress_weight and --compress_weight_conf are mutually exclusive. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +删除其中一个参数后再重试。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10048 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为参数值、报错原因、配置示例: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s for parameter --input_shape_range or dynamic_inputs_shape_range is invalid. Reason: %s. The value must be formatted as %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value abc for parameter --input_shape_range or dynamic_inputs_shape_range is invalid. Reason: The current string cannot be converted to a number. The value must be formatted as 16. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +请使用有效的参数值重试。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10049 Invalid\_Argument\_Tensor\_Input\_Shape | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s都表示维度数: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Dimension count %s configured in --input_shape does not match dimension count %s of the node. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Dimension count 3 configured in --input_shape does not match dimension count 4 of the node. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +根据节点的维度数量,在--input\_shape中设置相应的维度数量。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10050 Invalid\_Argument\_Tensor\_Input\_Shape\_Range | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为当前维度大小、最小值、最大值: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Current dimension size %s is not in the range of %s-%s specified by --input_shape. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Current dimension size 2 is not in the range of 4-8 specified by --input_shape. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +根据--input\_shape参数值设置维度大小。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10051 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为参数值、长度: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s for parameter --job_id exceeds the allowed maximum length %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value 200 for parameter --job_id exceeds the allowed maximum length 128. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +请使用有效的参数值重试。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10052 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示报错原因: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +AIPP configuration is invalid. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +AIPP configuration is invalid. Reason: When --dynamic_image_size is set, crop and padding cannot be set to 'true'. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +需按照Reason中的提示输入正确的参数值,或参考官方文档查看相关参数的使用说明。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10054 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示参数名: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +The required parameter %s for ATC is empty. Another possible reason is that the values of some parameters are not enclosed by quotation marks (""). | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +The required parameter --soc_version for ATC is empty. Another possible reason is that the values of some parameters are not enclosed by quotation marks (""). | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +检查命令行参数格式是否正确。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10055 Not\_Supported | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示报错原因: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +The operation is not supported. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +The operation is not supported. Reason: Options soc_version Ascend910B and mode 0 must be set together. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +检查配置的参数或使用的功能是否支持。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10056 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s都表示参数名: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Cannot configure both parameters %s and %s simultaneously. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Cannot configure both parameters --precision_mode and --precision_mode_v2 simultaneously. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +这两个参数不能同时设置。请参考官方文档查看相关参数的使用说明。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10057 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s都表示参数名: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +--%s and --%s can only be used together. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +--om and --model can only be used together. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +如果--mode的值为6,则只能与--om一起使用,请检查并重试。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10058 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示参数名: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Parameter %s is not configured or is empty. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Parameter --dynamic_dims is not configured or is empty. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +请参考官方文档查看相关参数的使用说明。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10059 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为接口名、报错原因: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +%s failed. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +SaveOriginalGraphToOmModel failed. Reason: The model file name cannot be empty. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +需按照Reason中的提示输入正确的参数值,或参考官方文档查看相关参数的使用说明。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10060 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示报错原因: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Parameter is invalid. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Parameter is invalid. Reason: Option ge.autoTuneMode has been discarded. Use the AOE tool for tuning. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +需按照Reason中的提示输入正确的参数值,或参考官方文档查看相关参数的使用说明。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10061 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s分别表示参数值、参数名、期望值: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s for parameter %s is invalid. Expected value: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value NZ for parameter input_format is invalid. Expected value: ND, NCHW, NHWC, CHWN, NC1HWC0, or NHWC1C0. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +需按照报错提示输入正确的参数值。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10062 Invalid\_Argument\_API\_Call\_Sequence | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s分别表示接口名、报错原因: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to %s. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to call RunGraphAsync. Reason: Graph <graph_id> has been compiled by calling CompileGraph. RunGraphAsync and CompileGraph are mutually exclusive and cannot be used together. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +根据Reason中的提示调整代码。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10063 Environment\_Error | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s分别表示接口名、报错原因: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to call the %s API of the system or third-party software. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to call the localtime API of the system or third-party software. Reason: [Errno 75] Value too large for defined data type. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +根据Reason中的提示调整代码。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10401 Invalid\_Argument\_Operator\_Input\_Count | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为输入数量、最大数量: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +The number of operator inputs %s exceeds the allowed maximum %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +The number of operator inputs 5 exceeds the allowed maximum 4. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +请使用有效的输入数量重试。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10402 Invalid\_Argument\_Operator\_Input\_Buffer | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为index、期望buffer大小、实际buffer大小: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Input indexed %s requires a %s buffer, but %s aligned buffer is allocated. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Input indexed 1 requires a 200 buffer, but 100 aligned buffer is allocated. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +检查数据类型、维度和Shape是否设置正确,具体请参见官方文档中的aclGetTensorDescSize接口说明。 | ||
| @@ -0,0 +1,23 @@ | |||
| 1 | +# E10403 Invalid\_Argument\_Operator\_Output\_Count | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为输出数量、最大数量: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +The number of operator outputs %s exceeds the allowed maximum %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +The number of operator outputs 5 exceeds the allowed maximum 4. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 可能原因 | ||
| 18 | + | ||
| 19 | +算子执行配置的输出个数与算子规格描述的不一致。 | ||
| 20 | + | ||
| 21 | +## 解决方法 | ||
| 22 | + | ||
| 23 | +请检查numoutputs中的元素个数是否设置正确,可能涉及aclopCompile、aclopExecuteV2和aclopCompileAndExecute接口,接口说明请参见官方文档。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10404 Invalid\_Argument\_Operator\_Output\_Buffer | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为index、期望buffer大小、实际buffer大小: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Output indexed %s requires a %s buffer, but %s aligned buffer is allocated. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Output indexed 1 requires a 200 buffer, but 100 aligned buffer is allocated. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +检查数据类型、维度和Shape是否设置正确,具体请参见官方文档中的aclGetTensorDescSize接口说明。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10405 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为内存大小、tensor数量: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +The number of input buffers is %s, which does not match the number of input tensors %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +The number of input buffers is 5, which does not match the number of input tensors 4. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +检查算子inputDesc和inputs中的元素个数是否设置正确,可能涉及aclopExecuteV2和aclopCompileAndExecute接口,接口说明请参见官方文档。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E10406 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为内存大小、tensor数量: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +The number of output buffers is %s, which does not match the number of output tensors %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +The number of output buffers is 5, which does not match the number of output tensors 4. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +检查算子的outputDesc和outputs中的元素个数是否设置正确,可能涉及aclopExecuteV2和aclopCompileAndExecute接口,接口说明请参见官方文档。 | ||
| @@ -0,0 +1,23 @@ | |||
| 1 | +# E10410 File\_Operation\_Error\_File\_Not\_Exist | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示文件名: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +File %s does not exist. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +File /home/keepdtype does not exist. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 可能原因 | ||
| 18 | + | ||
| 19 | +通过--keep\_dtype或--compress\_weight\_conf参数指定的文件不存在。 | ||
| 20 | + | ||
| 21 | +## 解决方法 | ||
| 22 | + | ||
| 23 | +请使用有效的文件重试。 | ||
| @@ -0,0 +1,25 @@ | |||
| 1 | +# E10501 Not\_Supported\_Operator | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为算子名称、算子类型: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +IR for Op %s with optype %s is not registered. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +IR for Op custom_op with optype CustomOp is not registered. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 可能原因 | ||
| 18 | + | ||
| 19 | +1. 未配置环境变量ASCEND\_OPP\_PATH。 | ||
| 20 | +2. 算子IR(Intermediate Representation)未注册。 | ||
| 21 | + | ||
| 22 | +## 解决方法 | ||
| 23 | + | ||
| 24 | +1. 请配置该环境变量。 | ||
| 25 | +2. 请参考算子开发文档检查算子原型是否已注册。 | ||
| @@ -0,0 +1,11 @@ | |||
| 1 | +# E11001 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +input_dim and input_shape are mutually exclusive in NetParameter for Caffe model conversion. | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## 解决方法 | ||
| 10 | + | ||
| 11 | +从atc命令行中删除--input\_dim或--input\_shape参数。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E11003 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为输入维度大小、输入数量: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +The number of input_dim fields in the model is %s, which is not 4x the input count %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +The number of input_dim fields in the model is 4, which is not 4x the input count 8. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +修改Caffe模型并重试。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E11004 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为输入Shape大小、输入数量: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +The number of input shapes is %s, which does not match the number of inputs %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +The number of input shapes is 3, which does not match the number of inputs 4. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +修改Caffe模型并重试。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E11005 Invalid\_Argument\_Tensor\_Input\_Shape | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示输入名称: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +The shape is not defined by using --input_shape for input %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +The shape is not defined by using --input_shape for input Input1. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +修改Caffe模型,或者在atc命令行中将输入Shape添加到--input\_shape参数中。 | ||
| @@ -0,0 +1,11 @@ | |||
| 1 | +# E11008 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +Op type DetectionOutput is unsupported. | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## 解决方法 | ||
| 10 | + | ||
| 11 | +修改Caffe模型,将DetectionOutput算子替换为FSRDetectionOutput或SSDDetectionOutput。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E11009 Not\_Supported\_Operator | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为算子名称、算子类型: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +No Caffe parser is registered for Op %s with Op type %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +No Caffe parser is registered for Op custom_op with Op type CustomOp. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +检查算子的Caffe插件是否已注册。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E11012 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为bottom blob、layer、index: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Unknown bottom blob %s at layer %s. The bottom blob is indexed %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Unknown bottom blob data at layer conv1. The bottom blob is indexed 1. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +修改Caffe模型并重试。 | ||
| @@ -0,0 +1,23 @@ | |||
| 1 | +# E11014 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示layer: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to find the top blob for layer %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to find the top blob for layer conv1. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 可能原因 | ||
| 18 | + | ||
| 19 | +top blob在源Caffe模型中没有对应的节点。 | ||
| 20 | + | ||
| 21 | +## 解决方法 | ||
| 22 | + | ||
| 23 | +修改Caffe模型并重试。 | ||
| @@ -0,0 +1,23 @@ | |||
| 1 | +# E11015 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示layer: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to find the bottom blob for layer %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to find the bottom blob for layer conv1. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 可能原因 | ||
| 18 | + | ||
| 19 | +bottom blob在源Caffe模型中没有对应的节点。 | ||
| 20 | + | ||
| 21 | +## 解决方法 | ||
| 22 | + | ||
| 23 | +修改Caffe模型并重试。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E11016 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为算子名称、output index、output index最大值、input index、input index最大值: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to add Op %s to NetOutput. Op output index %s is not less than %s. NetOutput input_index %s is not less than %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to add Op add to NetOutput. Op output index 3 is not less than 2. NetOutput input_index 3 is not less than 2. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +请使用有效的--out\_nodes参数重试。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E11017 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示算子名称: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to find node %s specified by --out_nodes. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to find node add specified by --out_nodes. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +请使用有效的--out\_nodes参数重试。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E11018 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示算子名称: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Op name %s contains invalid characters. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Op name add_&* contains invalid characters. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +允许的字符包括:字母、数字、连字符(-)、句号(。)、下划线(\_)和斜杠(/),请修改算子名称后重试。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E11021 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示模型文件名称: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Model file %s contains "layers" structures, which have been deprecated in Caffe and unsupported by ATC. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Model file /home/caffe.prototxt contains "layers" structures, which have been deprecated in Caffe and unsupported by ATC. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +请用layer替换layers。 | ||
| @@ -0,0 +1,15 @@ | |||
| 1 | +# E11022 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +Invalid prototxt file. | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## 可能原因 | ||
| 10 | + | ||
| 11 | +无效的Caffe模型,在Caffe模型中没有发现layer字段。 | ||
| 12 | + | ||
| 13 | +## 解决方法 | ||
| 14 | + | ||
| 15 | +请修改Caffe模型并添加layer字段。 | ||
| @@ -0,0 +1,11 @@ | |||
| 1 | +# E11023 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +Weight file contains "layers" structures, which have been deprecated in Caffe and unsupported by ATC." | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## 解决方法 | ||
| 10 | + | ||
| 11 | +请用layer替换layers。 | ||
| @@ -0,0 +1,15 @@ | |||
| 1 | +# E11024 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +Invalid Caffe weight file. | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## 可能原因 | ||
| 10 | + | ||
| 11 | +无效的Caffe权重文件,在Caffe权重中没有发现layer字段。 | ||
| 12 | + | ||
| 13 | +## 解决方法 | ||
| 14 | + | ||
| 15 | +请修改Caffe权重文件并添加layer字段。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E11027 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为算子名称、算子类型: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Op %s with optype %s in the Caffe model has an input node with shape size 0. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Op add with optype Add in the Caffe model has an input node with shape size 0. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +无效的Caffe模型,请修改节点的输入Shape。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E11029 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示算子名称: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Op %s exists in the model file but is not found in weight file. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Op add exists in the model file but is not found in weight file. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +请尝试使用有效的Caffe模型或权重文件,确保这两个文件相互匹配。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E11032 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为消息类型、错误字段、报错原因: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to parse message %s. The error field is %s. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to parse message model. The error field is LayerParameter. Reason: Cannot find domi.caffe.LayerParameter in google::protobuf::Descriptor. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +检查Caffe模型是否支持该字段。 | ||
| @@ -0,0 +1,23 @@ | |||
| 1 | +# E11033 Invalid\_Argument\_Caffe\_Model\_Weight | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为blob名称、blob大小、报错原因: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to convert the weight file. Blob %s of size %s is invalid. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to convert the weight file. Blob data of size 100 is invalid. Reason: It does not match shape size 128. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 可能原因 | ||
| 18 | + | ||
| 19 | +Caffe权重文件中节点的blob大小与根据其Shape计算出的元素数量不匹配。 | ||
| 20 | + | ||
| 21 | +## 解决方法 | ||
| 22 | + | ||
| 23 | +请尝试使用有效的Caffe模型或权重文件,确保这两个文件相互匹配。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E11035 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为算子名称、size: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +The top size of data node %s is not 1 but %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +The top size of data node data1 is not 1 but 2. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +无效的Caffe模型,请将data节点的数量更改为1。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E11036 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示top blobs: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Data nodes have duplicate top blobs %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Data nodes have duplicate top blobs data1. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +无效的Caffe模型。请确保data节点名称唯一。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E11037 Invalid\_Argument\_Caffe\_Model\_Data | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示算子名称: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Op %s has zero outputs. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Op add has zero outputs. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +Caffe模型中的节点必须至少有一个输出。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E12004 Invalid\_Argument\_Operator\_Input\_Index | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为算子名称、input index、input数量: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to register the prototype of Op %s. If input index is less than 0, then input index -%s (absolute value) must be less than the input count %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to register the prototype of Op add. If input index is less than 0, then input index -2 (absolute value) must be less than the input count 1. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +当Const输入被转换为属性时,检查输入索引是否设置正确。 | ||
| @@ -0,0 +1,23 @@ | |||
| 1 | +# E12009 Invalid\_Argument\_TensorFlow\_Model\_Data | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为输入名称、算子名称: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Input %s for Op %s is not found in graph_def. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Input data for Op input is not found in graph_def. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 可能原因 | ||
| 18 | + | ||
| 19 | +graph中未找到节点的输入名称。 | ||
| 20 | + | ||
| 21 | +## 解决方法 | ||
| 22 | + | ||
| 23 | +请使用有效的TensorFlow模型重试。 | ||
| @@ -0,0 +1,20 @@ | |||
| 1 | +# E12013 Invalid\_Argument\_TensorFlow\_Model\_Data | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示图名称: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to find a subgraph by the name %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to find a subgraph by the name tf_subgraph. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +1. 要使用function subgraphs转换TensorFlow模型,需将子图的.proto描述文件与模型文件放在同一目录下,并将其命名为graph\_def\_library.pbtxt。 | ||
| 20 | +2. 然后在ATC工具安装目录下运行func2graph.py脚本,将子图保存到graph\_def\_library.pbtxt中。 | ||
| @@ -0,0 +1,16 @@ | |||
| 1 | +# E12029 Invalid\_Argument\_TensorFlow\_Model\_Data | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +Failed to find the subgraph library. | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## 可能原因 | ||
| 10 | + | ||
| 11 | +要转换的模型包含function subgraphs,但未找到graph\_def\_library.pbtxt文件。 | ||
| 12 | + | ||
| 13 | +## 解决方法 | ||
| 14 | + | ||
| 15 | +1. 要使用function subgraphs转换TensorFlow模型,需将子图的.proto描述文件与模型文件放在同一目录下,并将其命名为graph\_def\_library.pbtxt。 | ||
| 16 | +2. 然后在ATC工具安装目录下运行func2graph.py脚本,将子图保存到graph\_def\_library.pbtxt中。 | ||
| @@ -0,0 +1,23 @@ | |||
| 1 | +# E13000 File\_Operation\_Error\_Invalid\_Path | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为文件路径、报错原因: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Path %s is empty. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Path /home/file is empty. Reason: [Error 2] No such file or directory. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 可能原因 | ||
| 18 | + | ||
| 19 | +文件不存在。 | ||
| 20 | + | ||
| 21 | +## 解决方法 | ||
| 22 | + | ||
| 23 | +请使用有效的文件目录重试。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E13001 File\_Operation\_Error\_Open | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为文件名称、报错原因: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to open file %s. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to open file /home/json.json. Reason: [Error 13] Permission denied. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +需按照Reason中的提示定位问题,提供正确的文件。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E13002 Directory\_Operation\_Error\_Name\_Too\_Long | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为文件目录、字符串长度: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Directory %s is too long. Keep the length within %s characters. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Directory /home/demo/.../latest/test is too long. Keep the length within 4096 characters. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +请使用有效的文件目录重试。 | ||
| @@ -0,0 +1,23 @@ | |||
| 1 | +# E13003 File\_Operation\_Error\_Read | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为文件名称、报错原因: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to read file %s. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to read file /home/json.json. Reason: [Error 13] Permission denied. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 可能原因 | ||
| 18 | + | ||
| 19 | +读取文件失败。 | ||
| 20 | + | ||
| 21 | +## 解决方法 | ||
| 22 | + | ||
| 23 | +需按照Reason中的提示定位问题,提供正确的文件。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E13004 File\_Operation\_Error\_Write | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为文件名称、报错原因: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to write file %s. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to write file /home/output. Reason: [Error 13] Permission denied. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +读取文件失败,需按照Reason中的提示定位问题,提供正确的文件。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E13005 File\_Operation\_Error\_Parse | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示文件名称: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to parse file %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to parse file /home/caffe.prototxt. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +请检查是否安装了匹配的Protobuf版本,并使用有效文件重试。有关详细信息,请参见官网ATC工具文档中的--framework参数说明。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E13006 File\_Operation\_Error\_Parse | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为文件类型、文件名称、期望的文件类型: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Type %s of file %s is incorrect. Expected type: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Type 00170000 of file /home/file is incorrect. Expected type: 0100000. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +请提供有效的文件并重试。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E13009 Invalid\_Argument\_Operator\_Name | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示算子名称: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Operator %s already exists in the graph. Ensure that operator names are unique. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Operator add already exists in the graph. Ensure that operator names are unique. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +确保graph中的算子名称唯一。 | ||
| @@ -0,0 +1,20 @@ | |||
| 1 | +# E13010 Not\_Supported\_Operator | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为算子名称、算子类型: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +No operator plugin is registered for Op: %s, optype: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +No operator plugin is registered for Op: acustom_op, optype: CustomOp. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +- 如果算子是自定义算子,则需要注册相关交付件。 | ||
| 20 | +- 如果算子是内置算子,则需要安装支持该算子的版本包。 | ||
| @@ -0,0 +1,25 @@ | |||
| 1 | +# E13014 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为参数值、参数名称、算子名称、报错原因: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s of parameter %s for Op %s is invalid. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例1如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value shape range size for Op add is invalid. Reason: The tensor has dynamic dimensions, but the shape range is not empty. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +报错示例2如下: | ||
| 18 | + | ||
| 19 | +```text | ||
| 20 | +Value format for Op add is invalid. Reason: The format must be NCHW or NHWC in the dynamic AIPP scenario. | ||
| 21 | +``` | ||
| 22 | + | ||
| 23 | +## 解决方法 | ||
| 24 | + | ||
| 25 | +需按照Reason中的提示输入正确的参数值,或参考官方文档查看相关参数的使用说明。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E13015 File\_Operation\_Error\_Invalid\_File\_Size | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为文件名、文件大小、最大值: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +File %s has a size of %s, which is out of valid range (0, %s]. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +File /home/file.txt has a size of 2147483649, which is out of valid range (0, 2147483647]. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +需按照提示提供有效大小的文件。 | ||
| @@ -0,0 +1,23 @@ | |||
| 1 | +# E13018 File\_Operation\_Error\_Parse | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示文件名称: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to parse file %s through google::protobuf::TextFormat::Parse. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to parse file /home/file.prototxt through google::protobuf::TextFormat::Parse. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 可能原因 | ||
| 18 | + | ||
| 19 | +该文件可能不是有效的Protobuf格式。 | ||
| 20 | + | ||
| 21 | +## 解决方法 | ||
| 22 | + | ||
| 23 | +请检查Protobuf文件格式。 | ||
| @@ -0,0 +1,23 @@ | |||
| 1 | +# E13023 Invalid\_Argument\_OM\_Model\_Size | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为模型属性名、内存大小、最大值: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Model %s has a size of %s bytes, which exceeds system limit of %s bytes. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Model tiling data has a size of 4294967298 bytes, which exceeds system limit of 4294967295 bytes. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 可能原因 | ||
| 18 | + | ||
| 19 | +生成的OM模型过大,无法转储到磁盘。 | ||
| 20 | + | ||
| 21 | +## 解决方法 | ||
| 22 | + | ||
| 23 | +请减小模型大小。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E13024 Config\_Error\_Invalid\_Environment\_Variable | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为环境变量名称、环境变量取值、报错原因: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Value %s for environment variable %s is invalid. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Value 1 for environment variable VIRTUAL_TYPE is invalid. Reason: L1_fusion is not supported in the Ascend virtual instance scenario. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +请参见环境变量参考文档重新设置环境变量。 | ||
| @@ -0,0 +1,25 @@ | |||
| 1 | +# E13025 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示报错原因: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Input tensor is invalid. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例1如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Input tensor is invalid. Reason: Data indexes must be consecutive and start from 0 when the data shape range is enabled. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +报错示例2如下: | ||
| 18 | + | ||
| 19 | +```text | ||
| 20 | +Input tensor is invalid. Reason: The number of inputs/outputs provided by the user is inconsistent with that required by the model. | ||
| 21 | +``` | ||
| 22 | + | ||
| 23 | +## 解决方法 | ||
| 24 | + | ||
| 25 | +需按照Reason中的提示输入正确的参数值,或参考官方文档查看相关参数的使用说明。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E13026 File\_Operation\_Error\_Invalid\_Path | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为文件路径、报错原因: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Input path %s is invalid. Reason: %s | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Input path /home/file is invalid. Reason: It is not a real path. Please check your model path. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +需按照Reason中的提示提供有效的文件路径。 | ||
| @@ -0,0 +1,23 @@ | |||
| 1 | +# E13027 Invalid\_Argument\_Network\_Connection | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示ip address: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to connect to the peer address %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to connect to the peer address 192.0.0.1. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 可能原因 | ||
| 18 | + | ||
| 19 | +IP地址、端口或token无效。 | ||
| 20 | + | ||
| 21 | +## 解决方法 | ||
| 22 | + | ||
| 23 | +请检查配置文件中的ipaddr、port或token配置是否正确。 | ||
| @@ -0,0 +1,15 @@ | |||
| 1 | +# E13028 Compilation\_Error\_Execute\_Custom\_Fusion\_Pass | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为融合规则名称、返回码、报错原因: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to run custom fusion pass %s. Return code: %s. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +用户自定义的融合规则,规则名称、返回码、报错原因也是自定义的,因此报错示例需以用户自定义的场景为准。 | ||
| 12 | + | ||
| 13 | +## 解决方法 | ||
| 14 | + | ||
| 15 | +检查错误日志以获取详细信息,并验证融合逻辑是否正确。 | ||
| @@ -0,0 +1,23 @@ | |||
| 1 | +# E13029 Compilation\_Error\_Load\_Custom\_Fusion\_Pass | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为融合规则库、报错原因: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to load custom fusion pass lib %s. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to load custom fusion pass lib /custom_op.so. Reason: undefined symbol: _ZNK7c10_npu9NPUStream6streamEv. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +分析上述提到的失败原因。以下是一些常见的dlopen失败情况的典型解决方案: | ||
| 20 | + | ||
| 21 | +1. 确认库路径正确且文件存在。 | ||
| 22 | +2. 确保库及其依赖项具有正确的权限。 | ||
| 23 | +3. 使用'ldd'命令检查所有依赖项是否可用。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E13030 Initialization\_Error\_Register\_Custom\_Fusion\_Pass | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为融合规则名称、报错原因: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Failed to get custom fusion pass func %s. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Failed to get custom fusion pass func CustomOpPass. Reason: Custom stream allocation pass function is required in stage AfterBuiltinFusionPass, but got nullptr. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +检查自定义融合规则注册是否有效。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E13031 Invalid\_Argument | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示报错原因: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Output tensor is invalid. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Output tensor is invalid. Reason: The output tensor memory size 100 is smaller than the actual size 128 required by tensor. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +需按照Reason中的提示输入正确的参数值,或参考官方文档查看相关参数的使用说明。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E14001 Invalid\_Argument\_Operator\_Compilation\_Parameter | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为参数值、算子名称、算子类型、报错原因: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Argument %s for Op %s with optype %s is invalid. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Argument inputs size 2 for Op add with optype Add is invalid. Reason: Input size is not equal to tensor size. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +检查算子的类型、输入和输出是否与配置的参数匹配。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E14002 Invalid\_Argument\_Tensor\_Attribute | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为属性名称、报错原因: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +In the current process, the attribute of %s must be obtained successfully. Reason: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +In the current process, the attribute of storage_format must be obtained successfully. Reason: Failed to get storage shape from node Failed to get storage shape from node add. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +请按照错误提示为算子设置属性信息。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E16001 Invalid\_Argument\_ONNX\_Model\_Data | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示节点名称: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +The model has no %s node. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +The model has no input node. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +检查ONNX模型是否包含输入节点。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E16002 Invalid\_Argument\_ONNX\_Model\_Data | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示算子类型: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +No ONNX parser is registered for optype %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +No ONNX parser is registered for optype CustomOp. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +检查安装包的版本并重新安装该包,安装方法请参见官网的安装指导。 | ||
| @@ -0,0 +1,11 @@ | |||
| 1 | +# E16004 Invalid\_Argument\_ONNX\_Model\_Data | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +ONNX model has no graph. | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## 解决方法 | ||
| 10 | + | ||
| 11 | +无效的ONNX模型,请修改ONNX模型并添加graph信息。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# E16005 Invalid\_Argument\_ONNX\_Model\_Data | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示domain版本数量: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +The model has %s --domain_version fields, but only one is allowed. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +The model has 2 --domain_version fields, but only one is allowed. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +无效的ONNX模型。请修改ONNX模型,如果算子节点上没有指定domain,则模型上只能指定一个domain。 | ||
| @@ -0,0 +1,15 @@ | |||
| 1 | +# E19999 Inner\_Error | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +```text | ||
| 6 | +Unknown error occurred. Please check the log. | ||
| 7 | +``` | ||
| 8 | + | ||
| 9 | +## 可能原因 | ||
| 10 | + | ||
| 11 | +系统异常终止。 | ||
| 12 | + | ||
| 13 | +## 解决方法 | ||
| 14 | + | ||
| 15 | +需收集故障发生时产生的日志,并根据日志定位故障。 | ||
| @@ -0,0 +1,245 @@ | |||
| 1 | +# GE Errors | ||
| 2 | + | ||
| 3 | +- **[E10001 Invalid\_Argument](E10001-Invalid_Argument.md)** | ||
| 4 | + | ||
| 5 | +- **[E10002 Invalid\_Argument\_Tensor\_Input\_Shape](E10002-Invalid_Argument_Tensor_Input_Shape.md)** | ||
| 6 | + | ||
| 7 | +- **[E10003 Invalid\_Argument](E10003-Invalid_Argument.md)** | ||
| 8 | + | ||
| 9 | +- **[E10004 Invalid\_Argument](E10004-Invalid_Argument.md)** | ||
| 10 | + | ||
| 11 | +- **[E10005 Invalid\_Argument](E10005-Invalid_Argument.md)** | ||
| 12 | + | ||
| 13 | +- **[E10006 Invalid\_Argument](E10006-Invalid_Argument.md)** | ||
| 14 | + | ||
| 15 | +- **[E10007 Invalid\_Argument](E10007-Invalid_Argument.md)** | ||
| 16 | + | ||
| 17 | +- **[E10008 Invalid\_Argument](E10008-Invalid_Argument.md)** | ||
| 18 | + | ||
| 19 | +- **[E10009 Invalid\_Argument\_Tensor\_Dynamic\_Shape](E10009-Invalid_Argument_Tensor_Dynamic_Shape.md)** | ||
| 20 | + | ||
| 21 | +- **[E10010 Invalid\_Argument](E10010-Invalid_Argument.md)** | ||
| 22 | + | ||
| 23 | +- **[E10011 Invalid\_Argument\_Tensor\_Input\_Shape](E10011-Invalid_Argument_Tensor_Input_Shape.md)** | ||
| 24 | + | ||
| 25 | +- **[E10012 Invalid\_Argument\_Tensor\_Input\_Shape](E10012-Invalid_Argument_Tensor_Input_Shape.md)** | ||
| 26 | + | ||
| 27 | +- **[E10013 Invalid\_Argument](E10013-Invalid_Argument.md)** | ||
| 28 | + | ||
| 29 | +- **[E10014 Invalid\_Argument](E10014-Invalid_Argument.md)** | ||
| 30 | + | ||
| 31 | +- **[E10016 Invalid\_Argument\_Operator\_Name](E10016-Invalid_Argument_Operator_Name.md)** | ||
| 32 | + | ||
| 33 | +- **[E10017 Invalid\_Argument](E10017-Invalid_Argument.md)** | ||
| 34 | + | ||
| 35 | +- **[E10018 Invalid\_Argument\_Tensor\_Dynamic\_Shape](E10018-Invalid_Argument_Tensor_Dynamic_Shape.md)** | ||
| 36 | + | ||
| 37 | +- **[E10019 Invalid\_Argument\_Tensor\_Input\_Shape](E10019-Invalid_Argument_Tensor_Input_Shape.md)** | ||
| 38 | + | ||
| 39 | +- **[E10020 Invalid\_Argument](E10020-Invalid_Argument.md)** | ||
| 40 | + | ||
| 41 | +- **[E10021 Invalid\_Argument](E10021-Invalid_Argument.md)** | ||
| 42 | + | ||
| 43 | +- **[E10022 Invalid\_Argument](E10022-Invalid_Argument.md)** | ||
| 44 | + | ||
| 45 | +- **[E10023 Invalid\_Argument](E10023-Invalid_Argument.md)** | ||
| 46 | + | ||
| 47 | +- **[E10024 Invalid\_Argument](E10024-Invalid_Argument.md)** | ||
| 48 | + | ||
| 49 | +- **[E10025 Invalid\_Argument](E10025-Invalid_Argument.md)** | ||
| 50 | + | ||
| 51 | +- **[E10026 Invalid\_Argument](E10026-Invalid_Argument.md)** | ||
| 52 | + | ||
| 53 | +- **[E10027 Invalid\_Argument](E10027-Invalid_Argument.md)** | ||
| 54 | + | ||
| 55 | +- **[E10029 Invalid\_Argument](E10029-Invalid_Argument.md)** | ||
| 56 | + | ||
| 57 | +- **[E10030 Invalid\_Argument](E10030-Invalid_Argument.md)** | ||
| 58 | + | ||
| 59 | +- **[E10031 Invalid\_Argument\_Tensor\_Input\_Shape](E10031-Invalid_Argument_Tensor_Input_Shape.md)** | ||
| 60 | + | ||
| 61 | +- **[E10032 File\_Operation\_Error\_Parse](E10032-File_Operation_Error_Parse.md)** | ||
| 62 | + | ||
| 63 | +- **[E10034 Invalid\_Argument](E10034-Invalid_Argument.md)** | ||
| 64 | + | ||
| 65 | +- **[E10035 Invalid\_Argument\_Tensor\_Dynamic\_Shape](E10035-Invalid_Argument_Tensor_Dynamic_Shape.md)** | ||
| 66 | + | ||
| 67 | +- **[E10036 Invalid\_Argument\_Tensor\_Dynamic\_Shape](E10036-Invalid_Argument_Tensor_Dynamic_Shape.md)** | ||
| 68 | + | ||
| 69 | +- **[E10037 Invalid\_Argument\_Tensor\_Dynamic\_Shape](E10037-Invalid_Argument_Tensor_Dynamic_Shape.md)** | ||
| 70 | + | ||
| 71 | +- **[E10038 Invalid\_Argument\_Tensor\_Dynamic\_Shape](E10038-Invalid_Argument_Tensor_Dynamic_Shape.md)** | ||
| 72 | + | ||
| 73 | +- **[E10039 Invalid\_Argument\_Tensor\_Dynamic\_Shape](E10039-Invalid_Argument_Tensor_Dynamic_Shape.md)** | ||
| 74 | + | ||
| 75 | +- **[E10040 Invalid\_Argument\_Tensor\_Input\_Shape](E10040-Invalid_Argument_Tensor_Input_Shape.md)** | ||
| 76 | + | ||
| 77 | +- **[E10041 Invalid\_Argument\_Model](E10041-Invalid_Argument_Model.md)** | ||
| 78 | + | ||
| 79 | +- **[E10045 Invalid\_Argument\_Tensor\_Dynamic\_Shape](E10045-Invalid_Argument_Tensor_Dynamic_Shape.md)** | ||
| 80 | + | ||
| 81 | +- **[E10046 Invalid\_Argument\_Tensor\_Dynamic\_Shape](E10046-Invalid_Argument_Tensor_Dynamic_Shape.md)** | ||
| 82 | + | ||
| 83 | +- **[E10047 Invalid\_Argument](E10047-Invalid_Argument.md)** | ||
| 84 | + | ||
| 85 | +- **[E10048 Invalid\_Argument](E10048-Invalid_Argument.md)** | ||
| 86 | + | ||
| 87 | +- **[E10049 Invalid\_Argument\_Tensor\_Input\_Shape](E10049-Invalid_Argument_Tensor_Input_Shape.md)** | ||
| 88 | + | ||
| 89 | +- **[E10050 Invalid\_Argument\_Tensor\_Input\_Shape\_Range](E10050-Invalid_Argument_Tensor_Input_Shape_Range.md)** | ||
| 90 | + | ||
| 91 | +- **[E10051 Invalid\_Argument](E10051-Invalid_Argument.md)** | ||
| 92 | + | ||
| 93 | +- **[E10052 Invalid\_Argument](E10052-Invalid_Argument.md)** | ||
| 94 | + | ||
| 95 | +- **[E10054 Invalid\_Argument](E10054-Invalid_Argument.md)** | ||
| 96 | + | ||
| 97 | +- **[E10055 Not\_Supported](E10055-Not_Supported.md)** | ||
| 98 | + | ||
| 99 | +- **[E10056 Invalid\_Argument](E10056-Invalid_Argument.md)** | ||
| 100 | + | ||
| 101 | +- **[E10057 Invalid\_Argument](E10057-Invalid_Argument.md)** | ||
| 102 | + | ||
| 103 | +- **[E10058 Invalid\_Argument](E10058-Invalid_Argument.md)** | ||
| 104 | + | ||
| 105 | +- **[E10059 Invalid\_Argument](E10059-Invalid_Argument.md)** | ||
| 106 | + | ||
| 107 | +- **[E10060 Invalid\_Argument](E10060-Invalid_Argument.md)** | ||
| 108 | + | ||
| 109 | +- **[E10061 Invalid\_Argument](E10061-Invalid_Argument.md)** | ||
| 110 | + | ||
| 111 | +- **[E10062 Invalid\_Argument\_API\_Call\_Sequence](E10062-Invalid_Argument_API_Call_Sequence.md)** | ||
| 112 | + | ||
| 113 | +- **[E10063 Environment\_Error](E10063-Environment_Error.md)** | ||
| 114 | + | ||
| 115 | +- **[E10401 Invalid\_Argument\_Operator\_Input\_Count](E10401-Invalid_Argument_Operator_Input_Count.md)** | ||
| 116 | + | ||
| 117 | +- **[E10402 Invalid\_Argument\_Operator\_Input\_Buffer](E10402-Invalid_Argument_Operator_Input_Buffer.md)** | ||
| 118 | + | ||
| 119 | +- **[E10403 Invalid\_Argument\_Operator\_Output\_Count](E10403-Invalid_Argument_Operator_Output_Count.md)** | ||
| 120 | + | ||
| 121 | +- **[E10404 Invalid\_Argument\_Operator\_Output\_Buffer](E10404-Invalid_Argument_Operator_Output_Buffer.md)** | ||
| 122 | + | ||
| 123 | +- **[E10405 Invalid\_Argument](E10405-Invalid_Argument.md)** | ||
| 124 | + | ||
| 125 | +- **[E10406 Invalid\_Argument](E10406-Invalid_Argument.md)** | ||
| 126 | + | ||
| 127 | +- **[E10410 File\_Operation\_Error\_File\_Not\_Exist](E10410-File_Operation_Error_File_Not_Exist.md)** | ||
| 128 | + | ||
| 129 | +- **[E10501 Not\_Supported\_Operator](E10501-Not_Supported_Operator.md)** | ||
| 130 | + | ||
| 131 | +- **[E11001 Invalid\_Argument\_Caffe\_Model\_Data](E11001-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 132 | + | ||
| 133 | +- **[E11003 Invalid\_Argument\_Caffe\_Model\_Data](E11003-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 134 | + | ||
| 135 | +- **[E11004 Invalid\_Argument\_Caffe\_Model\_Data](E11004-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 136 | + | ||
| 137 | +- **[E11005 Invalid\_Argument\_Tensor\_Input\_Shape](E11005-Invalid_Argument_Tensor_Input_Shape.md)** | ||
| 138 | + | ||
| 139 | +- **[E11008 Invalid\_Argument\_Caffe\_Model\_Data](E11008-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 140 | + | ||
| 141 | +- **[E11009 Not\_Supported\_Operator](E11009-Not_Supported_Operator.md)** | ||
| 142 | + | ||
| 143 | +- **[E11012 Invalid\_Argument\_Caffe\_Model\_Data](E11012-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 144 | + | ||
| 145 | +- **[E11014 Invalid\_Argument\_Caffe\_Model\_Data](E11014-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 146 | + | ||
| 147 | +- **[E11015 Invalid\_Argument\_Caffe\_Model\_Data](E11015-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 148 | + | ||
| 149 | +- **[E11016 Invalid\_Argument](E11016-Invalid_Argument.md)** | ||
| 150 | + | ||
| 151 | +- **[E11017 Invalid\_Argument](E11017-Invalid_Argument.md)** | ||
| 152 | + | ||
| 153 | +- **[E11018 Invalid\_Argument\_Caffe\_Model\_Data](E11018-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 154 | + | ||
| 155 | +- **[E11021 Invalid\_Argument\_Caffe\_Model\_Data](E11021-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 156 | + | ||
| 157 | +- **[E11022 Invalid\_Argument\_Caffe\_Model\_Data](E11022-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 158 | + | ||
| 159 | +- **[E11023 Invalid\_Argument\_Caffe\_Model\_Data](E11023-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 160 | + | ||
| 161 | +- **[E11024 Invalid\_Argument\_Caffe\_Model\_Data](E11024-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 162 | + | ||
| 163 | +- **[E11027 Invalid\_Argument\_Caffe\_Model\_Data](E11027-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 164 | + | ||
| 165 | +- **[E11029 Invalid\_Argument\_Caffe\_Model\_Data](E11029-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 166 | + | ||
| 167 | +- **[E11032 Invalid\_Argument\_Caffe\_Model\_Data](E11032-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 168 | + | ||
| 169 | +- **[E11033 Invalid\_Argument\_Caffe\_Model\_Weight](E11033-Invalid_Argument_Caffe_Model_Weight.md)** | ||
| 170 | + | ||
| 171 | +- **[E11035 Invalid\_Argument\_Caffe\_Model\_Data](E11035-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 172 | + | ||
| 173 | +- **[E11036 Invalid\_Argument\_Caffe\_Model\_Data](E11036-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 174 | + | ||
| 175 | +- **[E11037 Invalid\_Argument\_Caffe\_Model\_Data](E11037-Invalid_Argument_Caffe_Model_Data.md)** | ||
| 176 | + | ||
| 177 | +- **[E12004 Invalid\_Argument\_Operator\_Input\_Index](E12004-Invalid_Argument_Operator_Input_Index.md)** | ||
| 178 | + | ||
| 179 | +- **[E12009 Invalid\_Argument\_TensorFlow\_Model\_Data](E12009-Invalid_Argument_TensorFlow_Model_Data.md)** | ||
| 180 | + | ||
| 181 | +- **[E12013 Invalid\_Argument\_TensorFlow\_Model\_Data](E12013-Invalid_Argument_TensorFlow_Model_Data.md)** | ||
| 182 | + | ||
| 183 | +- **[E12029 Invalid\_Argument\_TensorFlow\_Model\_Data](E12029-Invalid_Argument_TensorFlow_Model_Data.md)** | ||
| 184 | + | ||
| 185 | +- **[E13000 File\_Operation\_Error\_Invalid\_Path](E13000-File_Operation_Error_Invalid_Path.md)** | ||
| 186 | + | ||
| 187 | +- **[E13001 File\_Operation\_Error\_Open](E13001-File_Operation_Error_Open.md)** | ||
| 188 | + | ||
| 189 | +- **[E13002 Directory\_Operation\_Error\_Name\_Too\_Long](E13002-Directory_Operation_Error_Name_Too_Long.md)** | ||
| 190 | + | ||
| 191 | +- **[E13003 File\_Operation\_Error\_Read](E13003-File_Operation_Error_Read.md)** | ||
| 192 | + | ||
| 193 | +- **[E13004 File\_Operation\_Error\_Write](E13004-File_Operation_Error_Write.md)** | ||
| 194 | + | ||
| 195 | +- **[E13005 File\_Operation\_Error\_Parse](E13005-File_Operation_Error_Parse.md)** | ||
| 196 | + | ||
| 197 | +- **[E13006 File\_Operation\_Error\_Parse](E13006-File_Operation_Error_Parse.md)** | ||
| 198 | + | ||
| 199 | +- **[E13009 Invalid\_Argument\_Operator\_Name](E13009-Invalid_Argument_Operator_Name.md)** | ||
| 200 | + | ||
| 201 | +- **[E13010 Not\_Supported\_Operator](E13010-Not_Supported_Operator.md)** | ||
| 202 | + | ||
| 203 | +- **[E13014 Invalid\_Argument](E13014-Invalid_Argument.md)** | ||
| 204 | + | ||
| 205 | +- **[E13015 File\_Operation\_Error\_Invalid\_File\_Size](E13015-File_Operation_Error_Invalid_File_Size.md)** | ||
| 206 | + | ||
| 207 | +- **[E13018 File\_Operation\_Error\_Parse](E13018-File_Operation_Error_Parse.md)** | ||
| 208 | + | ||
| 209 | +- **[E13023 Invalid\_Argument\_OM\_Model\_Size](E13023-Invalid_Argument_OM_Model_Size.md)** | ||
| 210 | + | ||
| 211 | +- **[E13024 Config\_Error\_Invalid\_Environment\_Variable](E13024-Config_Error_Invalid_Environment_Variable.md)** | ||
| 212 | + | ||
| 213 | +- **[E13025 Invalid\_Argument](E13025-Invalid_Argument.md)** | ||
| 214 | + | ||
| 215 | +- **[E13026 File\_Operation\_Error\_Invalid\_Path](E13026-File_Operation_Error_Invalid_Path.md)** | ||
| 216 | + | ||
| 217 | +- **[E13027 Invalid\_Argument\_Network\_Connection](E13027-Invalid_Argument_Network_Connection.md)** | ||
| 218 | + | ||
| 219 | +- **[E13028 Compilation\_Error\_Execute\_Custom\_Fusion\_Pass](E13028-Compilation_Error_Execute_Custom_Fusion_Pass.md)** | ||
| 220 | + | ||
| 221 | +- **[E13029 Compilation\_Error\_Load\_Custom\_Fusion\_Pass](E13029-Compilation_Error_Load_Custom_Fusion_Pass.md)** | ||
| 222 | + | ||
| 223 | +- **[E13030 Initialization\_Error\_Register\_Custom\_Fusion\_Pass](E13030-Initialization_Error_Register_Custom_Fusion_Pass.md)** | ||
| 224 | + | ||
| 225 | +- **[E13031 Invalid\_Argument](E13031-Invalid_Argument.md)** | ||
| 226 | + | ||
| 227 | +- **[E14001 Invalid\_Argument\_Operator\_Compilation\_Parameter](E14001-Invalid_Argument_Operator_Compilation_Parameter.md)** | ||
| 228 | + | ||
| 229 | +- **[E14002 Invalid\_Argument\_Tensor\_Attribute](E14002-Invalid_Argument_Tensor_Attribute.md)** | ||
| 230 | + | ||
| 231 | +- **[E16001 Invalid\_Argument\_ONNX\_Model\_Data](E16001-Invalid_Argument_ONNX_Model_Data.md)** | ||
| 232 | + | ||
| 233 | +- **[E16002 Invalid\_Argument\_ONNX\_Model\_Data](E16002-Invalid_Argument_ONNX_Model_Data.md)** | ||
| 234 | + | ||
| 235 | +- **[E16004 Invalid\_Argument\_ONNX\_Model\_Data](E16004-Invalid_Argument_ONNX_Model_Data.md)** | ||
| 236 | + | ||
| 237 | +- **[E16005 Invalid\_Argument\_ONNX\_Model\_Data](E16005-Invalid_Argument_ONNX_Model_Data.md)** | ||
| 238 | + | ||
| 239 | +- **[W11001 Performance\_Not\_Optimal\_Operator](W11001-Performance_Not_Optimal_Operator.md)** | ||
| 240 | + | ||
| 241 | +- **[W11002 Config\_Error\_Weight\_Configuration](W11002-Config_Error_Weight_Configuration.md)** | ||
| 242 | + | ||
| 243 | +- **[W11003 Config\_Error\_Operator\_Missing\_Implementation](W11003-Config_Error_Operator_Missing_Implementation.md)** | ||
| 244 | + | ||
| 245 | +- **[E19999 Inner\_Error](E19999-Inner_Error.md)** | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# W11001 Performance\_Not\_Optimal\_Operator | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s表示算子名称: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Op %s does not hit the high-priority operator information library, which might result in compromised performance. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Op add does not hit the high-priority operator information library, which might result in compromised performance. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +算子未命中高优先级算子信息库,这可能导致性能受损。请在<https://gitcode.com/cann> 提交问题以请求支持。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# W11002 Config\_Error\_Weight\_Configuration | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为文件名、算子名称: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +In the compression weight configuration file %s, some nodes do not exist in graph: %s. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +In the compression weight configuration file xxx, some nodes do not exist in graph: graph_name. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +检查权重文件是否与模型文件匹配。 | ||
| @@ -0,0 +1,19 @@ | |||
| 1 | +# W11003 Config\_Error\_Operator\_Missing\_Implementation | ||
| 2 | + | ||
| 3 | +## 错误信息 | ||
| 4 | + | ||
| 5 | +报错格式如下,占位符%s的含义依次为算子名称、交付件名称: | ||
| 6 | + | ||
| 7 | +```text | ||
| 8 | +Operator %s lacks required %s implementation. | ||
| 9 | +``` | ||
| 10 | + | ||
| 11 | +报错示例如下: | ||
| 12 | + | ||
| 13 | +```text | ||
| 14 | +Operator CustomAdd lacks required InferShape implementation. | ||
| 15 | +``` | ||
| 16 | + | ||
| 17 | +## 解决方法 | ||
| 18 | + | ||
| 19 | +算子实现不完整,确保提供所有算子所需的实现(例如,tiling),详细信息请参见官方的算子开发文档。 | ||