首页 炼丹房 帖子详情
使用NCC模型转换工具时转换失败
收藏
快速回复
炼丹房 问答新手上路 1444 6
使用NCC模型转换工具时转换失败
收藏
快速回复
炼丹房 问答新手上路 1444 6

大佬们出现这种情况是咋回事呢怎么解决

2020-12-26 23:03:35.873893: F tensorflow/lite/toco/tooling_util.cc:912] Check failed: GetOpWithOutput(model, output_array) Specified output array "" is not produced by any op in this graph. Is it a typo? To silence this message, pass this flag: allow_nonexistent_arrays
Fatal: Convert to tflite failed.

0
收藏
回复
全部评论(6)
时间顺序
UnseenMe
#2 回复于2020-12

你这是要把PB 转成 TFLITE吧?

试试在命令后加一个参数:

--allow_nonexistent_arrays
0
回复
A
AIStudio587050
#3 回复于2020-12

好的,我试试看

0
回复
A
AIStudio587050
#4 回复于2020-12

大佬能告诉我加在哪呢

!chmod 777 /home/aistudio/work/ncc

!/home/aistudio/work/ncc/ncc -i paddle -o k210model --postprocess n1to1 --dataset work/images/ freeze-model  garbage.kmodel

谢谢

0
回复
王钰
#5 回复于2021-04

请问一下问题解决了吗?我也遇到同样的问题。

0
回复
势单力薄的小孩
#6 回复于2021-07

请问解决了吗,我的问题显示permission denied,不知道为什么

 

0
回复
不吃番茄
#7 回复于2021-11

请问解决了嘛,我也是这个问题,不知道为什么

0
回复
在@后输入用户全名并按空格结束,可艾特全站任一用户