keras2ncnn
keras2ncnn copied to clipboard
[ERROR] Failed to read h5df file. You are not selecting a valid keras model file.
test.zip
hello,There's a problem where i executive command of "python -m keras2ncnn -i test.h5 -i ./"
the error is as follows:
"
Reading and parsing keras h5df file...
[ERROR] Failed to read h5df file.
You are not selecting a valid keras model file.
You can check it by either opening it by Keras or Netron.
If you are very confident of your file, please repoert a bug at: https://github.com/MarsTechHAN/keras2ncnn
"
See it, I will take a try.
I think you are not using the latest one. You may need to run pip upgrade.
You may also need to modified you code to remove concat axis -1, -2 and 0, which is not able to be converted to ncnn