mpromonet/gin-tflite

YOLOv3 tflite

MASLINQUE opened this issue · 2 comments

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
.)

Hi,

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

Best Regards,
Michel.

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