Skip to content
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

My tflite file cannot run in your YOLOv9 #12

Open
lucky-baby-dog opened this issue Oct 23, 2024 · 15 comments
Open

My tflite file cannot run in your YOLOv9 #12

lucky-baby-dog opened this issue Oct 23, 2024 · 15 comments

Comments

@lucky-baby-dog
Copy link

屏幕截图 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
Copy link
Author

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

@surendramaran
Copy link
Owner

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

@lucky-baby-dog
Copy link
Author

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

屏幕截图 2024-10-23 173145

@surendramaran
Copy link
Owner

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

@lucky-baby-dog
Copy link
Author

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

屏幕截图 2024-10-23 181701

@surendramaran
Copy link
Owner

surendramaran commented Oct 23, 2024

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.

@lucky-baby-dog
Copy link
Author

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

@surendramaran
Copy link
Owner

surendramaran commented Oct 23, 2024

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

@lucky-baby-dog
Copy link
Author

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]

@yg-dickson
Copy link

Does it support yolo11?

@lucky-baby-dog
Copy link
Author

Does it support yolo11?

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

@Woo-wdy
Copy link

Woo-wdy commented Oct 29, 2024

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

@lucky-baby-dog
Copy link
Author

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

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

@Woo-wdy
Copy link

Woo-wdy commented Oct 29, 2024

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

@lucky-baby-dog
Copy link
Author

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

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants