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

YiBing
Posts: 1
Joined: Thu Feb 15, 2024 1:24 pm

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

Postby YiBing » Thu Feb 15, 2024 1:32 pm

个人的目标检测模型,使用TVM自动生成部署项目的时候出现ValueError: too many values to unpack (expected 2)
7bf1e350e5a07f637e0109a318e43673.png
7bf1e350e5a07f637e0109a318e43673.png (132.11 KiB) Viewed 1769 times

BlueSkyB
Posts: 4
Joined: Tue Nov 28, 2023 3:01 am

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

Postby BlueSkyB » Mon Feb 26, 2024 11:24 am

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.

Who is online

Users browsing this forum: No registered users and 56 guests