Closed rogerkuo1981 closed 3 years ago
Yolox转出onnx可以成功,但是yolov5转的onnx就报这个错误,是不能支持V5的onnx吗?
https://github.com/kendryte/nncase/blob/master/docs/FAQ_ZH.md#%E9%83%A8%E7%BD%B2%E6%A8%A1%E5%9E%8B 第2条
多谢多谢! VOC训练出来的模型太大,export_onnx时候已把test_size改为(224.224),最终生成的kmodel还是8M左右,对于K210来说仍然太大。编译时候报错 region `ram' overflowed by 4142448 bytes。 除了继续改小test_size之外,还有其他办法可以让模型变小一点吗
可以减少通道数、采用 DepthwiseConv2D 替换普通 Conv2D 等
Describe the bug RuntimeError: Allocator has ran out of memory
To Reproduce compile.py last_sim.onnx best_224_quant.kmodel --imgs_dir .\test --legacy --target k210
Expected behavior convert kmodel
Origin model and code
Environment (please complete the following information):
Additional context D:\Python\nncase-master\examples\yolox>tools\compile.py last_sim.onnx best_224_quant.kmodel --imgs_dir .\test --legacy --target k210 15784