-
Notifications
You must be signed in to change notification settings - Fork 34
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
params in MomentumSGDTrainer #1
Comments
Huh, interesting. Possibly related: clab/dynet#138 @neubig |
There has recently been a change in the training interface to simplify things: I'd suggest upgrading to the most recent version, but if you'd prefer not to, the DyNet 2.0 version should still work as well: |
Thanks Graham! I'll leave this issue open until we upgrade to the latest DyNet release. |
The code is now updated to DyNet 2.0! |
Hi I was trying out your demo when I run into error at line 166, Mimick/mimick/model.py
trainer = dy.MomentumSGDTrainer(model.model, options.learning_rate, 0.9, 0.1)
The error message shows that MomentumSGDTrainer takes 3 parameters, as in
MomentumSGDTrainer(ParameterCollection &m, real learning_rate = 0.01, real mom = 0.9)
wondering is there a version conflict? But I installed the v2.0 dynet, following your README.
So what is this last parameter 0.1? Do I just simply delete it?
Thanks in advance!
The text was updated successfully, but these errors were encountered: