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

list index out of range #70

Open
lakshmipriya04 opened this issue Jun 12, 2018 · 1 comment
Open

list index out of range #70

lakshmipriya04 opened this issue Jun 12, 2018 · 1 comment

Comments

@lakshmipriya04
Copy link

lakshmipriya04 commented Jun 12, 2018

from quiver_engine import server

server.launch(model_all)

Starting webserver from: /usr/local/lib/python2.7/dist-packages/quiver_engine


IndexError Traceback (most recent call last)
in ()
1 from quiver_engine import server
----> 2 server.launch(model_all)

/usr/local/lib/python2.7/dist-packages/quiver_engine/server.py in launch(model, classes, top, temp_folder, input_folder, port, html_base_dir, mean, std)
201 temp_folder=temp_folder,
202 input_folder=input_folder,
--> 203 mean=mean, std=std
204 ),
205 port

/usr/local/lib/python2.7/dist-packages/quiver_engine/server.py in get_app(model, classes, top, html_base_dir, temp_folder, input_folder, mean, std)
95 '''
96
---> 97 single_input_shape, input_channels = get_input_config(model)
98
99 app = Flask(name)

/usr/local/lib/python2.7/dist-packages/quiver_engine/util.pyc in get_input_config(model)
41 #tf ordering
42 model.get_input_shape_at(0)[1:3],
---> 43 model.get_input_shape_at(0)[3]
44 )
45

IndexError: list index out of range

@TheRum
Copy link

TheRum commented Nov 19, 2018

From what I have observed is, It only shows up "Convolutional related layers" i.e. Conv2D, Pooling and Activation layers. And will not visualize Flatten or Dense layers (also it seems meaningless to show these layers !).
Hence, you will be getting this "IndexError", when trying to visualize/select Dense/Flatten Layers.

Hope this helps!

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

2 participants