我正在使用以下链接进行实施。https://github.com/nerox8664/onnx2keras/
尝试执行代码时出现以下错误。
k_model = onnx_to_keras(onnx_model, ['input'])
----------------------------------------------------------------------
Traceback (most recent call last):
File "import_convt2keras.py", line 8, in <module>
k_model = onnx_to_keras(onnx_model, ['input'])
File "/home/ubuntu/anaconda3/envs/tensorflow_p36/lib/python3.6/site-packages/onnx2keras/converter.py", line 80, in onnx_to_keras
weights[onnx_extracted_weights_name] = numpy_helper.to_array(onnx_w)
TypeError: unhashable type: 'google.protobuf.pyext._message.RepeatedScalarContainer'
----------------------------------------------------------------------