Replies: 1 comment
-
Maybe you can use a lower version of numpy,such as 1.23.1, or change np.bool to np.bool_ . |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I'm encountering an error while attempting to fine-tune a PointRend model in a Google Colab environment. I'm using Detectron2 for this task. This is the error:
"AttributeError: module 'numpy' has no attribute 'bool'"
The specific error occurs during training and seems to be related to NumPy. Here's the relevant code snippet where the error occurs:
I've checked the NumPy and Detectron2 documentation, but I haven't been able to pinpoint the root cause of this problem. It seems to be related to a change in NumPy 1.20, but I'm unsure how to resolve it.
I've tried changing references from np.bool to bool in the code, as suggested in the NumPy documentation, but the error persists.
Has anyone encountered this issue before or have any suggestions on how to fix it? I would appreciate any guidance or advice you can offer.
Thanks in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions