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

[Enhance] Add numba and numpy version requirements in FAQ #379

Merged
merged 8 commits into from
Mar 30, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@ We list some potential troubles encountered by users and developers, along with
pip uninstall pycocotools mmpycocotools
pip install mmpycocotools
```

- If you face the error shown below, and your environment contains numba == 0.48.0 with numpy >= 1.20.0

``TypeError: expected dtype object, got 'numpy.dtype[bool_]'``

please downgrade numpy to < 1.20.0 or install numba == 0.48 from source, because in numpy==1.20.0, `np.dtype` produces subclass due to API change.