Skip to content

shufflenet v2 model onnx to caffe failed #39

@wxhqw

Description

@wxhqw

Traceback (most recent call last):
File "convertCaffe.py", line 112, in
convertToCaffe(graph, prototxt_path, caffemodel_path)
File "convertCaffe.py", line 58, in convertToCaffe
layer = converter_fn(node,graph,err)
File "/data00/huqingwen.huqwen/workspace/npu/caffe2pb2tflite/gesture/hand-gestures/apu/pytorch2onnx2caffe2tf/onnx2caffe/_operators.py", line 194, in _convert_Reshape
return err.unsupported_op_configuration(node, "Reshape dimention number shall be 2 or 4")
File "/data00/huqingwen.huqwen/workspace/npu/caffe2pb2tflite/gesture/hand-gestures/apu/pytorch2onnx2caffe2tf/onnx2caffe/_error_utils.py", line 46, in unsupported_op_configuration
"Error while converting op of type: {}. Error message: {}\n".format(node.op_type, err_message, )
TypeError: Error while converting op of type: Reshape. Error message: Reshape dimention number shall be 2 or 4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions