Skip to content

type error! #3

@chajnoven

Description

@chajnoven

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions