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

live_vis.py problems expected 2 for FC or 4 for conv layer #123

Open
buaa-luzhi opened this issue Jul 14, 2017 · 1 comment
Open

live_vis.py problems expected 2 for FC or 4 for conv layer #123

buaa-luzhi opened this issue Jul 14, 2017 · 1 comment

Comments

@buaa-luzhi
Copy link

Traceback (most recent call last):
File "./run_toolbox.py", line 33, in
main()
File "./run_toolbox.py", line 23, in main
lv = LiveVis(settings)
File "/home/e829/deep-visualization-toolbox/live_vis.py", line 62, in init
app = app_class(settings, self.bindings)
File "/home/e829/deep-visualization-toolbox/caffevis/app.py", line 101, in init
self._populate_net_layer_info()
File "/home/e829/deep-visualization-toolbox/caffevis/app.py", line 114, in _populate_net_layer_info
assert len(blob_shape) in (2,4), 'Expected either 2 for FC or 4 for conv layer'
AssertionError: Expected either 2 for FC or 4 for conv layer

Who can hele me, Thank you very much!

@yosinski
Copy link
Owner

Try running with ipython --pdb to debug:

$ ipython --pdb -- ./run_toolbox.py

Then poke around the blob and try to figure out what's going on. (Which layer does it choke on? Is that layer FC or Conv? And what shape is the blob?)

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