-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
cocoeval.py: np.linspace issues with numpy 1.18.0+ and Python3.5+ #356
Comments
I faced the same issue last week! I stumbled upon this page and the title of this page gave away the workaround for this issue. It is the recently released Numpy version 1.18.0 that is fuzzy. Until this issue is resolved, simply downgrading to Numpy 1.17.5 would do the trick and you can move on with life. |
Due to pycocotools error with numpy 1.18.0: cocodataset/cocoapi#356
I have installed Numpy 1.17.5, but the error is still reported WARNING: pycocotools must be installed with numpy==1.17 to run correctly. |
|
I think this issue fixed by PR #354 . |
I have the same problem |
I didn't even see this available. I get: Collecting numpy==1.17 |
have you solved this problem ? |
Hello,
If you have an environment with Python3.5+ and numpy 1.18.0+ installed and try:
You will get the following error:
TypeError: object of type <class 'numpy.float64'> cannot be safely interpreted as an integer.
This is fixed if you change both instances of:
with
I don't have the ability to make a pull request for this, but can someone add this in? :)
Thanks!
The text was updated successfully, but these errors were encountered: