These are chat archives for torch/torch7
[Rules] Dont post large blobs of text / code. Dont post install issues, use our google groups for them. Questions of the format: "I ran this code", "I got this error" are better off posted to google groups or github issues as they will be indexed by google search for the future.
/usr/local/bin/luajit: C++ exceptionwithout a traceback at a totally arbitrary (but reproducible) point during training of a torch model? i'm about to start what's likely to be a rather torturous process of figuring out what exactly triggers the error...
nntorch/nn#284 to fix it, but it didn't get accepted.
:viewis not that easy, as we would require in the constructor the number of input channels (
Reshapedoesn't accept -1 indices).
nn.Copy(nil,nil,true)just after the
nn.Viewin line https://github.com/szagoruyko/imagine-nn/blob/master/SpatialPyramidPooling.lua#L13 , but that makes an unnecessary memory copy in the forward pass...
nn.Contiguouscould be useful in situations like that ?
CUDA_VISIBLE_DEVICES=2,3before launching your script