Skip to content
This repository has been archived by the owner on May 26, 2023. It is now read-only.

TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType' #26

Open
dragie opened this issue Dec 16, 2019 · 2 comments

Comments

@dragie
Copy link

dragie commented Dec 16, 2019

Getting below error when i run the code

TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

@alexbhandari
Copy link

alexbhandari commented Jan 5, 2020

@dragie

I had tried to get this running a couple months ago and also was getting an error. Can you provide the full trace back for your error?

This project does not provide a requirements file with the specific versions of all dependancies used. I think the error may be due to an update in one of the dependancies breaking some functionality used here, but I can try to check into it further.

@Utkarshrnigam
Copy link

@dragie
I had a look at your issue and i think you are putting these square brackets with the image path.
Try without square brackets.
Eg-
"python detection.py -i test_images\image_name.jpg"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: To discuss and validate
Development

No branches or pull requests

3 participants