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

Can't visualize nn.Contiguous #33

Open
ahmedmagdiosman opened this issue May 4, 2017 · 0 comments
Open

Can't visualize nn.Contiguous #33

ahmedmagdiosman opened this issue May 4, 2017 · 0 comments

Comments

@ahmedmagdiosman
Copy link

ahmedmagdiosman commented May 4, 2017

Hello, awesome work with this package! I have an issue trying to visualize nn.Contiguous. Do you know what might be causing it?
If it's not an easy fix, is there a way to ignore this node in visualization?

Edit: This also occurs with nn.SoftMax. I would think it would work with SoftMax. Am I doing something wrong?
Edit2: I think this happens whenever the previous module is a SplitTable or ParallelTable.

stack traceback:
	[C]: in function 'assert'
	...e/aosman/torch/install/share/lua/5.1/optnet/graphgen.lua:171: in function 'addEdge'
	...e/aosman/torch/install/share/lua/5.1/optnet/graphgen.lua:196: in function <...e/aosman/torch/install/share/lua/5.1/optnet/graphgen.lua:190>
	[C]: in function 'xpcall'
	/home/aosman/torch/install/share/lua/5.1/nn/Container.lua:63: in function 'rethrowErrors'
	.../aosman/torch/install/share/lua/5.1/nn/ParallelTable.lua:12: in function <.../aosman/torch/install/share/lua/5.1/nn/ParallelTable.lua:10>
	[C]: in function 'xpcall'
	/home/aosman/torch/install/share/lua/5.1/nn/Container.lua:63: in function 'rethrowErrors'
	/home/aosman/torch/install/share/lua/5.1/nn/Sequential.lua:44: in function </home/aosman/torch/install/share/lua/5.1/nn/Sequential.lua:41>
	[C]: in function 'xpcall'
	...
	[C]: in function 'xpcall'
	/home/aosman/torch/install/share/lua/5.1/itorch/main.lua:210: in function </home/aosman/torch/install/share/lua/5.1/itorch/main.lua:174>
	/home/aosman/torch/install/share/lua/5.1/lzmq/poller.lua:75: in function 'poll'
	/home/aosman/torch/install/share/lua/5.1/lzmq/impl/loop.lua:307: in function 'poll'
	/home/aosman/torch/install/share/lua/5.1/lzmq/impl/loop.lua:325: in function 'sleep_ex'
	/home/aosman/torch/install/share/lua/5.1/lzmq/impl/loop.lua:370: in function 'start'
	/home/aosman/torch/install/share/lua/5.1/itorch/main.lua:389: in main chunk
	[C]: in function 'require'
	(command line):1: in main chunk
	[C]: at 0x00405d50```
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

1 participant