Page 1 of 1

使用TVM自动生成模型部署项目-部署项目生成错误

Posted: Thu Feb 15, 2024 1:32 pm
by YiBing
个人的目标检测模型,使用TVM自动生成部署项目的时候出现ValueError: too many values to unpack (expected 2)
7bf1e350e5a07f637e0109a318e43673.png
7bf1e350e5a07f637e0109a318e43673.png (132.11 KiB) Viewed 9097 times

Re: 使用TVM自动生成模型部署项目-部署项目生成错误

Posted: Mon Feb 26, 2024 11:24 am
by BlueSkyB
Currently, export_onnx_model.py only supports single input and single output scenarios. You can modify the input and output of the model in the generate_project() function of export_onnx_model.py and in app_main.c according to your own model.

In addition, the support for TVM in ESP-DL is not very mature, and there may be exceptions in the deployment of some custom models. Moreover, the main branch of TVM has undergone significant updates, so this implementation needs to be refactored. However, due to our current manpower constraints, we won't start the refactoring work in the short term; we need to complete other tasks first. If any exceptions occur, you may need to handle them on your own in the short term. Sorry for the inconvenience.