keplr-io / quiver

Interactive convnet features visualization for Keras
https://keplr-io.github.io/quiver/
MIT License
1.75k stars 223 forks source link

Update server.py #39

Open humzaiqbal opened 7 years ago

humzaiqbal commented 7 years ago

Currently quiver only accepts images of size (None, x , y, z) and looks at the z component to see if the image is grayscale. However some images may be of shape (None, x, y) and in those cases rather than breaking, it could be useful to assume the images are grayscale