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: 'NoneType' object has no attribute 'shape' #3

Open
adityasomic opened this issue Jul 4, 2023 · 2 comments
Open

AttributeError: 'NoneType' object has no attribute 'shape' #3

adityasomic opened this issue Jul 4, 2023 · 2 comments

Comments

@adityasomic
Copy link

Hello @computervisioneng ,

Thank you very much for your tutorial, While I was running your script 'predict_video.py' I am getting this error on line 14

H, W, _ = frame.shape

Error: AttributeError: 'NoneType' object has no attribute 'shape'

Could you please help me with this, Thanks

@computervisioneng
Copy link
Owner

Are you getting that error when trying to read the first frame in the video?

@sauro1997
Copy link

I am getting the same error If someone have fix it how you have done it :) i'm a beginner

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

3 participants