Open quenotl opened 4 years ago
I guess, generating a requirements.txt file or a conda env file would have been helpful here in the first place.
Using the following code to replace line 173 could also be helpful im = Image.fromarray(img) size = tuple((np.array(im.size) * 0.5).astype(int)) img2 = np.array(im.resize(size, PIL.Image.BICUBIC))
scipy.misc.imresize function have been removed from the latest version of the module. I suggest to replace line 173 by: img2 = skimage.transform.resize(img, [int(np.floor(h/2)), int(np.floor(w/2))],order=3)