Coder Social home page Coder Social logo

Comments (7)

mjq11302010044 avatar mjq11302010044 commented on September 16, 2024 2

@auroua One more thing to pay attention is that the order of box parameter should be [x, y, h, w, theta], instead of [..., w, h,...]

from rrpn.

mjq11302010044 avatar mjq11302010044 commented on September 16, 2024

@auroua could you plz provide the input of nms API and which function you use?

from rrpn.

mjq11302010044 avatar mjq11302010044 commented on September 16, 2024

@auroua There may be some naming mistakes like import gpu_nms as cpu_nms.

from rrpn.

auroua avatar auroua commented on September 16, 2024

I run the nms_test.py without any modification. The input to nms function is:

boxes = np.array([
			[50, 50, 100, 100, 0, 0.99],
			[60, 60, 100, 100, 0, 0.88],#keep 0.68
			[50, 50, 100, 100, 45.0, 0.66],#discard 0.70
			[200, 200, 100, 100, 0, 0.77],#keep 0.0
		], dtype=np.float32)

The cpu_nms I used is from rotation.rotate_cpu_nms import rotate_cpu_nms as cpu_nms, and the gpu_nms is from rotation.rotate_gpu_nms import rotate_gpu_nms as cpu_nms .

from rrpn.

auroua avatar auroua commented on September 16, 2024

The environment is

  • cuda 9.0
  • python 3.6

from rrpn.

mjq11302010044 avatar mjq11302010044 commented on September 16, 2024

@auroua Okay, here we suggest using rotation.rotate_polygon_nms which is exactly the skew-nms we use in our code : )

from rrpn.

auroua avatar auroua commented on September 16, 2024

Thanks.
The rotation.rotate_polygon_nms get the same result.

from rrpn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.