Instead of:
scipy.misc.imsave(category + '/' + str(i) + '.jpg', image)
I am using:
imageio.imwrite(category + '/' + str(i) + '.jpg', image)
And it's giving me the following error:
error in image: 6078 - Imageio Pillow plugin requires Pillow lib.
Pillow is installed
What should I look into?