Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

numpy 1.18 will cause error 'numpy.float64' cannot be safely interpreted as an integer #547

Open
ujsyehao opened this issue Dec 27, 2019 · 3 comments

Comments

@ujsyehao
Copy link

ujsyehao commented Dec 27, 2019

Two solutions:

  • not use numpy 1.18, use numpy version < 1.18
  • modify coco evaluation code
    cocoeval.py line 507, line508 np.round(0.95 - .5) / .05 + 1 -> int(np.round(0.95 - .5) / .05 + 1)
@MARMOTatZJU
Copy link

MARMOTatZJU commented Jan 13, 2020

@ujsyehao Fixed by this commit

@ujsyehao
Copy link
Author

okay

@wangyunjeff
Copy link

nice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants