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 running the create_train_data() function, it returns:
imgs = np.ndarray((total, 1, image_rows, image_cols), dtype=np.uint8)
TypeError: 'float' object cannot be interpreted as an integer
How to fix this problem?
Thanks a lot.
The text was updated successfully, but these errors were encountered:
I got an Error when I try to run data.py.
When running the create_train_data() function, it returns:
imgs = np.ndarray((total, 1, image_rows, image_cols), dtype=np.uint8)
TypeError: 'float' object cannot be interpreted as an integer
How to fix this problem?
Thanks a lot.
The text was updated successfully, but these errors were encountered: