zldrobit / tfjs-yolov5-example

TensorFlow.js example for YOLOv5
https://codesandbox.io/s/github/zldrobit/tfjs-yolov5-example
88 stars 30 forks source link

Bounding boxes are not placed correctly #13

Closed govza closed 2 years ago

govza commented 2 years ago

Bounding boxes doesn't seam to be correct and differ from the original detect.py boxes. Can't understand is it tfjs conversion or app drawing problem.

Here and in other images, boxes are usually drawn over top-half of the object.

image

zldrobit commented 2 years ago

I could not reproduce the error, and I am using Firefox as a browser. image

PS: What browser (and its version) are you using?

govza commented 2 years ago

Thank you for your response. It looks like the tf inference on webgl of my gpu GTX 850M doesn't work properly. Though it's all good with tf.setBackend("cpu") and on other computers.