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

YOLOv3 tflite #1

Open
MASLINQUE opened this issue Sep 30, 2021 · 2 comments
Open

YOLOv3 tflite #1

MASLINQUE opened this issue Sep 30, 2021 · 2 comments

Comments

@MASLINQUE
Copy link

Hello! I'm trying your repo, but something wrong with my model. I got an one long size vector, called "loc" (in your code this var called that) and I can't get bboxes, scores, classes from it. And I don't understand how to apply my anchors for YOLO. So, I have a python implementation of this conversion (I mean, from tensor to bboxes etc), my functions for this are in the func.txt. Please, may I ask you for help?
func.txt
.)

@mpromonet
Copy link
Owner

Hi,

This is experiment using tflite in go, it doesnot really work....

Best Regards,
Michel.

@MASLINQUE
Copy link
Author

MASLINQUE commented Oct 1, 2021

This is experiment using tflite in go, it doesnot really work....

It almost work) You got output tensor, but it flattened. In python we have output[13][13][18] (for example), in golang we have output[131318]. All we have to do is convert flat to right matrix

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

2 participants