-
Notifications
You must be signed in to change notification settings - Fork 549
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
Comments
I have fixed the issue. |
how you fix the errors? |
@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. |
@ravikantb , what is maxT though, actually? By default, even though 36 classes are considered, maxT is only 26. What does that mean? |
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
The text was updated successfully, but these errors were encountered: