Open amandazw opened 4 years ago
node_maker字典中的这句话'hard_sigmoid': 'HardSigmoid', # Caffe2 error 造成了以下错误: File "D:/work/video/beauty_ocr_sdk/paddle2onnx-develop/paddle2onnx-develop/fluid_onnx/fluid_to_onnx.py", line 143, in convert node_proto = ops.node_maker[str(op.type)](operator=op, block=block) TypeError: 'str' object is not callable
load the model parameter done. Traceback (most recent call last): File "D:/work/video/beauty_ocr_sdk/paddle2onnx-develop/paddle2onnx-develop/fluid_onnx/fluid_to_onnx.py", line 235, in
main()
File "D:/work/video/beauty_ocr_sdk/paddle2onnx-develop/paddle2onnx-develop/fluid_onnx/fluid_to_onnx.py", line 231, in main
convert(args)
File "D:/work/video/beauty_ocr_sdk/paddle2onnx-develop/paddle2onnx-develop/fluid_onnx/fluid_to_onnx.py", line 141, in convert
node_proto = ops.node_maker[str(op.type)](op, block)
TypeError: 'str' object is not callable
请问这是什么问题呢?