Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to see any ouput #42

Open
kkarnatak opened this issue Jan 26, 2017 · 5 comments
Open

Unable to see any ouput #42

kkarnatak opened this issue Jan 26, 2017 · 5 comments

Comments

@kkarnatak
Copy link

kkarnatak commented Jan 26, 2017

I am trying to run a simple example using trained network vgg16

from vgg16 import VGG16
from quiver.quiver_engine.server import launch

model = VGG16()
launch(model, classes=['cat','dog'], input_folder='./imgs') # i have images of dogs and cats here

After this I can see the webpage, but when I click on image and then the layer, it displays "no data for this layer". And this is displayed for all the layers.

I can see following error on the console:

  File "C:\ENV\p34\lib\site-packages\keras\engine\training.py", line 111, in standardize_input_data
    str(array.shape))
Exception: Error when checking : expected input_1 to have shape (None, 224, 224, 3) but got array with shape (1, 224, 3, 3)

I used 224x224 image as an input.
What might I be missing here?

@jakebian
Copy link
Member

That error says apparently you are attempting to evaluate this on 1 image of size 224 x 3 px. Could be a preprocessing error though - can you give some more details on your input images? How many images are in the folder, what's the file extension?

@kkarnatak
Copy link
Author

kkarnatak commented Jan 27, 2017

Thanks for replying. At the moment I am using just one image with extension jpg. Its dimensions are 224x224 and 24bit.
I believe 224x224 is the required size, and I tried to feed the images with same dimensions but every images leads to the error stated in the post above. CAn you recommened any images which have worked on this code?

@MikhailovSergei
Copy link

Hello, do solve this problem?

@sudheerExperiments
Copy link

sudheerExperiments commented Nov 9, 2018

I am facing similar issue. My model uses 1 x 120 x 120 (channels x width x height) black and white images. My dataset has 300 x 300 (channels x width x height) black and white images. I resized the images to 120x120 while feeding data to my model.

When I used quiver to display conv layer outputs, input loads, but shows 'No data for this layer' error.

Any solution??

@rajee-a
Copy link

rajee-a commented Dec 4, 2019

Successfully loaded but not output ?
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants