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

'NoneType' object has no attribute 'shape' #1

Open
Deven2705 opened this issue Mar 21, 2023 · 0 comments
Open

'NoneType' object has no attribute 'shape' #1

Deven2705 opened this issue Mar 21, 2023 · 0 comments

Comments

@Deven2705
Copy link

Traceback (most recent call last):
File "c:\Users\Downloads\weapon-detection-python-opencv-withyolov5--main\weapon-detection-python-opencv-withyolov5--main\weapon_detection.py", line 18, in
height, width, channels = img.shape
AttributeError: 'NoneType' object has no attribute 'shape'

juat try to solve this problem

and why we have to pip install requirement -r if there is not ,and there is only two module installed.

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

1 participant