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

AttributeError: module 'numpy.linalg._umath_linalg' has no attribute '_ilp64' #268

Open
1 of 2 tasks
v479038280 opened this issue Mar 28, 2024 · 0 comments
Open
1 of 2 tasks
Labels
bug Something isn't working

Comments

@v479038280
Copy link

Search before asking

  • I have searched the Roboflow Notebooks issues and found no similar bug report.

Notebook name

how-to-detect-and-count-objects-in-polygon-zone.ipynb

Bug

Using cache found in /root/.cache/torch/hub/ultralytics_yolov5_master
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
[<ipython-input-23-d827f2069f82>](https://localhost:8080/#) in <cell line: 3>()
      1 import torch
      2 
----> 3 model = torch.hub.load('ultralytics/yolov5', 'yolov5x6')

12 frames
[/usr/local/lib/python3.10/dist-packages/numpy/testing/_private/utils.py](https://localhost:8080/#) in <module>
     55 IS_PYSTON = hasattr(sys, "pyston_version_info")
     56 HAS_REFCOUNT = getattr(sys, 'getrefcount', None) is not None and not IS_PYSTON
---> 57 HAS_LAPACK64 = numpy.linalg._umath_linalg._ilp64
     58 
     59 _OLD_PROMOTION = lambda: np._get_promotion_state() == 'legacy'

AttributeError: module 'numpy.linalg._umath_linalg' has no attribute '_ilp64'

Environment

-Google colab
https://colab.research.google.com/github/roboflow-ai/notebooks/blob/main/notebooks/how-to-detect-and-count-objects-in-polygon-zone.ipynb#scrollTo=0EL4o_eOQmej
Advanced YOLOv5 Market Square Example

Minimal Reproducible Example

import torch

model = torch.hub.load('ultralytics/yolov5', 'yolov5x6')

Additional

just running the official demo in this link

Are you willing to submit a PR?

  • Yes I'd like to help by submitting a PR!
@v479038280 v479038280 added the bug Something isn't working label Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant