-
Notifications
You must be signed in to change notification settings - Fork 222
Open
Description
when I run this code vectorize_img.py it shows that:
Traceback (most recent call last):
File "vectorize_img.py", line 87, in
test_vec = vectorize_imgs(test_path_and_labels, img_size)
File "vectorize_img.py", line 43, in vectorize_imgs
arrs = np.asarray(arrs, dtype='float64')
File "D:\Anaconda2\lib\site-packages\numpy\core\numeric.py", line 474, in asarray
return array(a, dtype, copy=False, order=order)
ValueError: could not broadcast input array from shape (250,250,3) into shape (250,250)
I have modify the img_size
img_size = (3, 250, 250) # channel, height, width
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels