You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use python3 -m keras2ncnn -i model.h5 -o ./ -d in command for debugging the output inconsistent with keras
But I got error below, and I can't find keras2ncnn.cpp in the github web.
Where should i download this file?
Thanks
Reading and parsing keras h5df file...
Start graph optimizing pass...
Removing unused nodes...
Removing squeeze reshape after pooling...
Refreshing graph...
Converting keras graph to ncnn graph...
Start emitting to ncnn files.
Emitting param...
Emitting binary...
Running accuracy matcher...
Initing Env...
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Requirement already satisfied: virtualenv==16.7.9 in /tools/software/anaconda3-4.4.0/envs/py3.7-tzuyun/lib/python3.6/site-packages (16.7.9)
cmake is not inside PATH, please install it first.
Preparing File...
Generting File...
Traceback (most recent call last):
File "/tools/software/anaconda3/envs/py3.7-tzuyun/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/tools/software/anaconda3/envs/py3.7-tzuyun/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/tools/software/anaconda3/envs/py3.7-tzuyun/lib/python3.6/site-packages/keras2ncnn/__main__.py", line 12, in <module>
sys.exit(_main())
File "/tools/software/anaconda3/envs/py3.7-tzuyun/lib/python3.6/site-packages/keras2ncnn/keras2ncnn.py", line 130, in main
graph_seq)
File "/tools/software/anaconda3/envs/py3.7-tzuyun/lib/python3.6/site-packages/keras2ncnn/keras_debugger.py", line 214, in emit_file
'w+').write(c_payload)
FileNotFoundError: [Errno 2] No such file or directory: '.keras2ncnn_build/ncnn/benchmark/keras2ncnn.cpp'
The text was updated successfully, but these errors were encountered:
I use
python3 -m keras2ncnn -i model.h5 -o ./ -d
in command for debugging the output inconsistent with kerasBut I got error below, and I can't find
keras2ncnn.cpp
in the github web.Where should i download this file?
Thanks
The text was updated successfully, but these errors were encountered: