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
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType' #30
Comments
hi, do you kown the reason ? |
Hello, did you ensure you downloaded the correct model file, set the correct model type and set the correct model path to the model file you downloaded? Ensure all of this is done before running your python code. |
Hello, I have same problem. Have you solved it? Could you tell me something about it? Thank you. |
Hello, I am working on getting a solution to this error. I will update you all once I find the cause and solution to it. |
Looks like it has something to do with anaconda. I am getting the same error in conda environment, but not in virtualenv. Error trace given in #35 also shows that the person is using anaconda. |
The solution is easy. Just install the true versions for the requirements. See the following link: |
When I run the model, I get this error on this line:
detector.loadModel()
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
I did everything according to instruction but encountered that error.
Any idea about the possible reason of the problem?
The text was updated successfully, but these errors were encountered: