-
Notifications
You must be signed in to change notification settings - Fork 187
errors during run the codes provided in the paper #7
Comments
When I check the torchnet codes, I found that, in listdataset.lua, line 116, for different of list, it should be different. When list is a table, #self.list should be a number, but when list is LongTensor , #self.list is a tensor. Am I right? Maybe this caused the problem. |
No this does look like a serialization issue that arises when you're creating the |
Hello, Installed rocks:
|
Hi, I am facing the same problem with Is there something similar to |
Apparently, the |
As hinted by @byronwwang there is an actual bug in listdataset.lua, however, it is on line 126. When a torch.LongTensor is provided the assert statement fails with "
. |
@GooShan I think I fixed that bug a few minutes ago. |
It appears the example in the paper was done for a different version of the
I will add it to the codebase. |
See https://github.com/torchnet/torchnet/blob/master/example/mnist.lua for a working example with comments. |
File.lua:141: Unwritable object at <?>.callback.closure.mnist.testdataset.createdataset.readlush.torch.cat
The text was updated successfully, but these errors were encountered: