Open Fchaubard opened 6 years ago
I have to fix the Readme. For now, the notebook examples are more reliable and correct. I will definitely fix it this weekend.
@raghakot Nice visualizations! Just curious if you were able to fix the broken parts and get everything working?
replace 'img = Image.fromarray(img)' with 'img = Image.fromarray(img.astype('uint8'))' to solve your error
@raghakot This probably deserves it's own section, as this completely breaks the GifGenerator. As when adding text the PIL types don't like up (1,1,3) with any float types. Definitely frustrating trying to adopt some keras-vis to existing projects, a lot less hassle just doing K.function
manually tbh.
The intro demo in your readme doesn't work.
1) There is no module named modifications.. you have to do: from vis.input_modifiers import Jitter 2) VGG16 is not imported the way you say: from keras.applications.vgg16 import VGG16 works 3) imageio is not installed in the requirements 4) even then, after fixing these, you still can not run it.. you get this issue:
No handlers could be found for logger "vis.utils.utils"
TypeError Traceback (most recent call last)