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

type error! #3

Open
chajnoven opened this issue Jul 31, 2019 · 1 comment
Open

type error! #3

chajnoven opened this issue Jul 31, 2019 · 1 comment

Comments

@chajnoven
Copy link

Hello, I have this problem:
Image Loading!
Traceback (most recent call last):
File "test.py", line 26, in
mcnn.predict()
File "C:\Users\Administrator\Crowd-Counting-with-MCNNs\network.py", line 286, in predict
img = (img - 127.5) / 128
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'

an array type can't be broadcast? I don't know what it is mean.

@lichenxiii
Copy link

Hello, I have this problem:
Image Loading!
Traceback (most recent call last):
File "test.py", line 26, in
mcnn.predict()
File "C:\Users\Administrator\Crowd-Counting-with-MCNNs\network.py", line 286, in predict
img = (img - 127.5) / 128
TypeError: unsupported operand type(s) for -: 'NoneType' and 'float'

an array type can't be broadcast? I don't know what it is mean.

hello do you solve this ques, I meet this ques too

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

2 participants