-
Notifications
You must be signed in to change notification settings - Fork 672
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
BoundingBoxType的label_text想改成string类型,但是很多报错 #50
Comments
因为很多模型都用了原来的label_text,直接修改的话会导致不兼容,需要把用到box类的都修改了 |
只是,因为这个自定义模型的话,类别是自定义的,我通过外面传进来文件读取,所以这个类别不能写死 |
|
能把onnx文件和你的类别放上来?我尝试帮你改一改?还有是用到了lite.ai.toolkit中的哪个类?应该可以抠出来用的,你可以把这个仓库看做一个案例库,找一些和你的任务比较接近的进行魔改一下,应该可以很好地适应新的模型。这里的提供了挺多的应用案例,是我学习各个推理引擎时整理的。 |
优秀~ |
你好,原来的析构函数是: |
应该会调用父类的析构函数,我之前有测试过。你可以打log看看,或者把这个释放资源的函数改到子类也可以,父类析构时会判断是不是空指针。 |
想自己给label_text赋值string,然后发现label_text是为NULL,没法赋值,所以想把label_text改为string
The text was updated successfully, but these errors were encountered: