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

training errors with my own mdb datasets #15

Closed
simmoncn opened this issue Jun 24, 2016 · 4 comments
Closed

training errors with my own mdb datasets #15

simmoncn opened this issue Jun 24, 2016 · 4 comments

Comments

@simmoncn
Copy link

simmoncn commented Jun 24, 2016

I just use the tools/CreateDataset.py to create my owned train and validation dataset. But when running training, it throws the following exceptions:
/disk1/deeplearning/torch/install/bin/luajit: bad argument #3 to '?' (torch.*Tensor expected, got nil)
stack traceback:
[C]: at 0x7f900fc2f8b0
[C]: in function '__newindex'
./utilities.lua:33: in function 'str2label'
./DatasetLmdb.lua:82: in function 'allImageLabel'
./training.lua:84: in function 'trainModel'
main_train.lua:51: in main chunk
[C]: in function 'dofile'
...ning/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x004064d0

anyone can help me how to fix the errors?

thanks

@simmoncn simmoncn changed the title loading mdb data errors training errors with my own mdb datasets Jun 24, 2016
@simmoncn
Copy link
Author

I have fixed the issue.

@avr248
Copy link

avr248 commented Jul 20, 2016

how you fix the errors?

@ravikantb
Copy link

@avr248 I had also faced a similar issue in my training of crnn. As far as I can recall the reason for mine was incorrect setting of maxT. I was training on a larger character set. Currently I use maxT=51 instead of default 26 given in the config.lua.

@stalagmite7
Copy link

@ravikantb , what is maxT though, actually? By default, even though 36 classes are considered, maxT is only 26. What does that mean?

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

4 participants