-
Notifications
You must be signed in to change notification settings - Fork 91
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
ArgumentOutOfRangeException during training #3
Comments
It was the missing word embedding ! |
Thanks. RNNSharp should not crash, even word embedding feature is not used. I will fix it. |
Closed
ericxsun
pushed a commit
to ericxsun/RNNSharp
that referenced
this issue
Feb 9, 2017
…lled when running validation zhongkaifu#2. Support model vector quantization reduce model size to 1/4 original zhongkaifu#3. Refactoring code and speed up training zhongkaifu#4. Fixing feature extracting bug
zhongkaifu
added a commit
that referenced
this issue
May 3, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello !
First of all, thank you for publishing such high quality project. It is the absolute state-of-art ! Thank you !!!
I was evaluating this in a small dataset, however I get this ArgumentOutOfRangeException.
The error is in SimpleRNN.cs, at this part:
This matrix, mat_feature2hidden, have the Height of 200, however the Width is 0.
The command:
.\Bin\RNNSharpConsole.exe -mode train -trainfile bruno-data.txt -modelfile .\bruno-model.bin -validfile bruno-valid.txt -ftrfile .\config_bruno.txt -tagfile .\bruno-tags.txt -modeltype 0 -layersize 200 -alpha 0.1 -crf 1 -maxiter 0 -savestep 200K -dir 1 -dropout 0
And the error:
Maybe it is because I'm not using a word embedding ??
Thank you again for this great project !
The text was updated successfully, but these errors were encountered: