DeepID_FaceClassify icon indicating copy to clipboard operation
DeepID_FaceClassify copied to clipboard

ask for help

Open morningsky opened this issue 9 years ago • 0 comments

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!

morningsky avatar Mar 07 '16 13:03 morningsky