Open PapaMadeleine2022 opened 6 years ago
need help~
Hi @IvyGongoogle , thanks for your issue, we have fixed the problems!
@IvyGongoogle I am tring to convert tensorflow model of mtcnn now, but another error occurred :"
F0926 17:53:15.171332 1120 reshape_layer.cpp:87] Check failed: top[0]->count() == bottom[0]->count() (768 vs. 2) output count must match input count ** Check failure stack trace: ./run.sh: line 3: 1120 Aborted (core dumped) mmconvert -sf tensorflow -in model-30.meta -iw model-30.ckpt --dstNodeName cls_prob -df caffe -om tf_pnet**
". Could you offer me some advice, thanks.
Hi @Archernarkiu , maybe it's better to new a issue~
@IvyGongoogle I am tring to convert tensorflow model of mtcnn now, but another error occurred :"
F0926 17:53:15.171332 1120 reshape_layer.cpp:87] Check failed: top[0]->count() == bottom[0]->count() (768 vs. 2) output count must match input count ** Check failure stack trace: ./run.sh: line 3: 1120 Aborted (core dumped) mmconvert -sf tensorflow -in model-30.meta -iw model-30.ckpt --dstNodeName cls_prob -df caffe -om tf_pnet**
". Could you offer me some advice, thanks.
@Archernarkiu how about convert tensorflow model of mtcnn? I have the same doubt, please inform me. Thank you
@liangheng Emmmm, It has been half a year since I proposed this question. I failed to convert my model then, however I almost forgot the details. But I conclude that, maybe this tool would fix the graph's input while converting your input graph. I didn't feel strange now, cause many tools (tensortRT, tensorflow Lite), as far as I know, have this trait.
@Archernarkiu thank you very much @namizzz @IvyGongoogle I use the following command: mmconvert -sf tensorflow -in E:/tmp/pnet-30.meta -iw E:/tmp/pnet-30.index --dstNode conv4_1/Softmax conv4_1/BiasAdd conv4_3/BiasAdd -df caffe -om E:/tmp/outmodel
it happen:
Traceback (most recent call last):
File "d:\softinstall\anaconda3\lib\runpy.py", line 184, in _run_module_as_main
"main", mod_spec)
File "d:\softinstall\anaconda3\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "D:\SoftInstall\Anaconda3\Scripts\mmconvert.exe__main__.py", line 9, in
need help
I used my own script to implement the transformation, but the precision was lost, I don't know why
hello, my
tf
istensorflow-gpu-1.4.1
. when I runmmconvert -sf tensorflow -in RNet-20.meta -iw RNet-20 --dstNodeName cls_fc/Softmax -df caffe -om tf_RNet
on myRNet-20
, it still shows:but my
RNet-20.meta
does hascls_fc/Softmax
, how to fix it? myRNet-20.meta
is here