AsuharietYgvar / AppleNeuralHash2ONNX

Convert Apple NeuralHash model for CSAM Detection to ONNX.
Apache License 2.0
1.53k stars 132 forks source link

Error when run "python3 tools/onnx2tnn/onnx-coreml/coreml2onnx.py ../NeuralHash_model" #9

Closed testagain36 closed 3 years ago

testagain36 commented 3 years ago

I got the follow error when I run "python3 tools/onnx2tnn/onnx-coreml/coreml2onnx.py ../NeuralHash_model"

-> python3 tools/onnx2tnn/onnx-coreml/coreml2onnx.py ../NeuralHash_model Traceback (most recent call last): File "tools/onnx2tnn/onnx-coreml/coreml2onnx.py", line 538, in main() File "tools/onnx2tnn/onnx-coreml/coreml2onnx.py", line 35, in main net_layers = net_dict['layers'] KeyError: 'layers'

Could you please give some pointers how I can resolve it?

Thanks!

testagain36 commented 3 years ago

Please ignore the issue.