-
Notifications
You must be signed in to change notification settings - Fork 230
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
fix serialize bug in #344 #433
Conversation
After Julia fixed deepcopy bug in, I fix our bug too.
I merged with #425 and added the tests that fails before |
@denizyuret could you try below snippet by activating this project https://github.com/ekinakyurek/Morse.jl/tree/predict on a cpu only machine, which requires internet connection to download the saved model: julia> using Knet, KnetLayers , Morse
julia> model, vocabulary, parser = trained(MorseModel, TRDataSet, vers="2018");
julia> predictions = model("annem sana yardım edemez .", v=vocabulary, p=parser) I'm getting assertion error on size of hidden states, whereas I don't get any error on a GPU machine. |
You had a 2-D hidden state instead of 3-D. I modified the code so the assertion ignores trailing 1 dimensions. |
After Julia fixed deepcopy bug, I fix our serialization bug too.