YOLO icon indicating copy to clipboard operation
YOLO copied to clipboard

My tflite file cannot run in your YOLOv9

Open lucky-baby-dog opened this issue 1 year ago • 16 comments

屏幕截图 2024-10-23 094550

屏幕截图 2024-10-23 094724 屏幕截图 2024-10-23 094753 Hello, I changed v9 in your file to my model file, but when I recompile and run it again, it doesn't open. What's going on

lucky-baby-dog avatar Oct 23 '24 01:10 lucky-baby-dog

屏幕截图 2024-10-23 100857 My tflite file can be opened in Netron software and displayed

lucky-baby-dog avatar Oct 23 '24 02:10 lucky-baby-dog

Any error it is showing in logcat when you try to run? If not then in which way the model is behaving?

surendramaran avatar Oct 23 '24 06:10 surendramaran

Brother, the problem lies here. How can we solve it

屏幕截图 2024-10-23 173145

lucky-baby-dog avatar Oct 23 '24 09:10 lucky-baby-dog

May I know the output and input shape. visit https://netron.app/ and get properties.

surendramaran avatar Oct 23 '24 09:10 surendramaran

May I know the output and input shape. visit https://netron.app/ and get properties.

屏幕截图 2024-10-23 181701

lucky-baby-dog avatar Oct 23 '24 10:10 lucky-baby-dog

Yeah, this YOLOv9 model is probably exported and trained from here https://github.com/WongKinYiu/yolov9

While I took models from here https://docs.ultralytics.com/models/yolov9/

So, you may also use ultralytics's environment and use this repo.

I will also try to interpret your model, if successful I will publish codes.

surendramaran avatar Oct 23 '24 10:10 surendramaran

Yeah, this YOLOv9 model is probably exported and trained from here https://github.com/WongKinYiu/yolov9

While I took models from here https://docs.ultralytics.com/models/yolov9/

So, you may also use ultralytics's environment and use this repo.

I will also try to interpret your model, if successful I will publish codes. Yes, brother. I trained my data based on the YOLOv9 model and obtained a weight file. I converted this file into a PB file using onnx and then into a TFLite file

lucky-baby-dog avatar Oct 23 '24 10:10 lucky-baby-dog

You mind sharing your tflite model, with labels and sample images? [email protected]

surendramaran avatar Oct 23 '24 12:10 surendramaran

You mind sharing your tflite model, with labels and sample images? [email protected]

Hello, I have packaged the items and placed them in the data file,My email address is [email protected]

lucky-baby-dog avatar Oct 24 '24 08:10 lucky-baby-dog

Does it support yolo11?

yg-dickson avatar Oct 26 '24 10:10 yg-dickson

Does it support yolo11?

I haven't tried it before, you can give it a try

lucky-baby-dog avatar Oct 27 '24 02:10 lucky-baby-dog

yolo11模型部署到yolov8上直接闪退,我用的是yolo11x的模型转成了yolo11_float16.tflite,把他放在yolov8或者yolov9的android里并调用会直接闪退

Woo-wdy avatar Oct 29 '24 00:10 Woo-wdy

yolo11模型部署到yolov8上直接闪退,我用的是yolo11x的模型转成了yolo11_float16.tflite,把他放在yolov8或者yolov9的android里并调用会直接闪退

Yes, it did indeed crash directly. I am also looking for the reason behind it

lucky-baby-dog avatar Oct 29 '24 10:10 lucky-baby-dog

我找到了原因 把GPU加速关掉就好了 但是识别速度会很慢

Woo-wdy avatar Oct 29 '24 10:10 Woo-wdy

我找到了原因 把GPU加速关掉就好了 但是识别速度会很慢

我找到了原因 把GPU加速关掉就好了 但是识别速度会很慢

I switched to my YOLOV9 model and ran it inside YOLOV9, but it crashed and the software couldn't open

lucky-baby-dog avatar Oct 29 '24 12:10 lucky-baby-dog

我找到了原因 把GPU加速关掉就好了 但是识别速度会很慢

插个眼,使用GPU去推理yolo10也会崩溃,且崩溃无法拦截

LYS86 avatar Dec 07 '24 13:12 LYS86