Keras-yolo3: How to implement the SoftNMS algorithm instead of the original tf.image.non_maximum_suppression(). 如何实现使用softnms 来代替原先的tf.image.non_maximum_suppression()函数

Created on 11 Jan 2019  ·  5Comments  ·  Source: qqwweee/keras-yolo3

Hi,everyone!
I have been confused by a problem recently. How to implement the SoftNMS algorithm instead of the original tf.image.non_maximum_suppression(). Here is the SoftNMS repo: https://github.com/DocF/Soft-NMS . (这里是SoftNMS的代码仓库)
I test it successfully when the boxes and scores are np.ndarray. But I get back this big error message errors when instead of the original tf.image.non_maximum_suppression().

All 5 comments

You can find Tensorflow C++ source code,tf.image.non_maximum_suppression() is softnms actually。

Hi,everyone!
I have been confused by a problem recently. How to implement the SoftNMS algorithm instead of the original tf.image.non_maximum_suppression(). Here is the SoftNMS repo: https://github.com/DocF/Soft-NMS . (这里是SoftNMS的代码仓库)
I test it successfully when the boxes and scores are np.ndarray. But I get back this big error message errors when instead of the original tf.image.non_maximum_suppression().

You can reference my code https://github.com/Stinky-Tofu/Stronger-yolo

tf.image.non_maximum_suppression

@S601327412 non_maximum_suppression() refers to different NMS versions(V2, V3, V4),
I read the code of these versions, they all finally use DoNonMaxSuppressionOp(),
however, I don't think it uses soft-NMS.

see: https://github.com/tensorflow/tensorflow/blob/a26413ef0a179dd93b5228b031de83dce97a8684/tensorflow/core/kernels/non_max_suppression_op.cc#L155

mark and waiting for solutions.

你好,同学,请问这个soft-nms问题得到解决了吗?我这几天一直在弄。

Was this page helpful?
0 / 5 - 0 ratings

Related issues

maiminh1996 picture maiminh1996  ·  5Comments

warsi22 picture warsi22  ·  3Comments

awilliamson picture awilliamson  ·  4Comments

jinbooooom picture jinbooooom  ·  4Comments

ISSstone picture ISSstone  ·  4Comments