Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用caffe版本的retinaface转换的retinaface, khadasvim3开发板运行错误 #976

Open
lovehuanhuan opened this issue Aug 3, 2021 · 0 comments

Comments

@lovehuanhuan
Copy link

sudo] password for khadas:
[ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (935) open OpenCV | GStreamer warning: Cannot query video position: status=0, value=-1, duration=-1
authorise ok
tengine-lite library version: 1.4-dev
dims 1440 3840
W [vsi_nn_SortGraphNode:1278]Unprocessed node 2
W [vsi_nn_SetupGraph:621]Sort graph nodes failure.
Tengine Fatal: Pre-run subgraph(2) on TIMVX failed.
Tengine: Scheduler(sync) prerun failed.
Prerun graph failed

屏蔽prerun_graph后,程序运行后,run_graph ok,但是get_graph_output_tensor get_tensor_shape返回的out_dim异常,get_tensor_quant_param get_tensor_buffer_size返回的数量为1,无法取出返回值。模型图片如下:我认为开发板npu需要有固定尺寸输入的模型,但是output的shape好像都不在了,是不是模型转化出了问题
下面是有问题的转换后的模型
retinacaf_uint8

以前我用rk3399 retinaface rknn,工作正常。转换后的模型如下:
retina

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants