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 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!
The text was updated successfully, but these errors were encountered:
when I run this code vectorize_img.py it shows that:
I have modify the img_size
img_size = (3, 250, 250) # channel, height, width
Thanks!
The text was updated successfully, but these errors were encountered: