You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to run test.py I get the following message:
File "C:\Users\GCZX\Desktop\crowdcount-mcnn-master\src\data_loader.py", line 35, in init
img = cv2.resize(img,(wd_1,ht_1))
TypeError: integer argument expected, got float
The text was updated successfully, but these errors were encountered:
I am not really sure why this occurs, since wd_1 and ht_1 are supposed to int. Anyway, can you type cast these to variables to int and then resize - that must work.
When trying to run test.py I get the following message:
File "C:\Users\GCZX\Desktop\crowdcount-mcnn-master\src\data_loader.py", line 35, in
init
img = cv2.resize(img,(wd_1,ht_1))
TypeError: integer argument expected, got float
The text was updated successfully, but these errors were encountered: