Utilities for object detection #101
Replies: 18 comments 4 replies
-
We could also double check what useful bbox ops could be copied/refactored from: https://github.com/tensorflow/models/blob/master/official/vision/beta/ops/box_ops.py |
Beta Was this translation helpful? Give feedback.
-
https://github.com/tensorflow/models/blob/master/official/vision/beta/ops/box_ops.py Thank you @bhack . Skimmed through the code and the first three tasks can be refactored from the code. Moreover |
Beta Was this translation helpful? Give feedback.
-
Others are in: https://github.com/tensorflow/models/tree/master/official/vision/utils/object_detection |
Beta Was this translation helpful? Give feedback.
-
Ah, visualzation also checks out. Do we have any anchor box optiization tools already available too? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Weighted box fusion, an alternate of non-max impression. |
Beta Was this translation helpful? Give feedback.
-
I was talking about optimization of the hyperparameters that doesnt come integrated with tensorflow object detection API. This repo uses K means whereas MetaAnchor is SOTA afaik. |
Beta Was this translation helpful? Give feedback.
-
Ah ok.. with enough resources we could review also this. I suppose with that current PR/maintainer ratio it will be still not a problem. In that case we could evaluate how much coverage we want to have to all the features related to anchor based models: |
Beta Was this translation helpful? Give feedback.
-
We could also consider adding some sort of a |
Beta Was this translation helpful? Give feedback.
-
Yeah, agreed. Should we open a discussion for this too?
Yeah, @innat provided a nice such example above. |
Beta Was this translation helpful? Give feedback.
-
I’m also considering offering a bounding box extension type: https://www.tensorflow.org/guide/extension_type I’m not sure how useful this would be though compared to just using -1 padded tensors or ragged tensors. |
Beta Was this translation helpful? Give feedback.
-
Are non-admin users able to open discussions right now? |
Beta Was this translation helpful? Give feedback.
-
Yes but admin can convert also an issue to a discussion: |
Beta Was this translation helpful? Give feedback.
-
Are we adding losses again over here like |
Beta Was this translation helpful? Give feedback.
-
Here is a post-processing technique for object detection (and instance segmentation). Officially it supports PyTorch ecosystem. (Issue: slow process - need to vectorize the process.) |
Beta Was this translation helpful? Give feedback.
-
Drawing bounding box on a batch of images. https://www.tensorflow.org/io/api_docs/python/tfio/experimental/image/draw_bounding_boxes |
Beta Was this translation helpful? Give feedback.
-
The YOLO-V4 introduces many tactics to improve OD model performance. A medium blog author (Jonathan Hui) made a nice summary of it. It's a good read: https://medium.com/p/c9901eaa8e61
|
Beta Was this translation helpful? Give feedback.
-
We still need anchor optimization for sure, but closing for now in favor of newer discussions. |
Beta Was this translation helpful? Give feedback.
-
Some ready to use utilities that could be useful during an object detection application:
[xmin, ymin, xmax, ymax]
to[x, y, width, height]
and vice versaNot including other utilities like
non max suppression
andgenerating bounding box
since they are available undertf.image
.Beta Was this translation helpful? Give feedback.
All reactions