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

Problem with L-BFGS training #13

Open
tbluche opened this issue Jul 11, 2012 · 2 comments
Open

Problem with L-BFGS training #13

tbluche opened this issue Jul 11, 2012 · 2 comments

Comments

@tbluche
Copy link

tbluche commented Jul 11, 2012

Hi,

I've installed everything on my computer and tried to run the scripts of today's session, and that works fine until L-BFGS. I have the error below. This actually happens in autodiff code, maybe I don't have the right version (?)

Starting L-BFGS
Traceback (most recent call last):
  File "train_svm.py", line 72, in <module>
    sys.exit(main())
  File "train_svm.py", line 64, in main
    m=lbfgs_m)
  File "/usr/local/lib/python2.7/dist-packages/pyautodiff-0.0.1-py2.7.egg/autodiff/fmin_scipy.py", line 119, in fmin_l_bfgs_b
    f_df, lvars  = theano_f_df(fn, args, mode=theano_mode)
  File "/usr/local/lib/python2.7/dist-packages/pyautodiff-0.0.1-py2.7.egg/autodiff/fmin_scipy.py", line 72, in theano_f_df
    memo=dict(zip(orig_s_args, s_args)))
TypeError: clone_get_equiv() got an unexpected keyword argument 'memo'
@jaberg
Copy link
Collaborator

jaberg commented Jul 11, 2012

Thanks for reporting. This is a known issue that would be solved by updating Theano to use the development head.

The server running the IPAM tutorials is actually running this branch:
https://github.com/jaberg/Theano/tree/ipam2012

There are a few tweaks there wrt the development head that make PyAutoDiff work better, I'm hoping that those changes will be merged to Theano master soon, and then I'll update the ipam-tutorial README.md with installation instructions.

@tbluche
Copy link
Author

tbluche commented Jul 11, 2012

Oh good that works great, cheers!

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

2 participants