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

No Diagnostic message with SGD #19

Closed
kadarakos opened this issue Apr 11, 2014 · 2 comments
Closed

No Diagnostic message with SGD #19

kadarakos opened this issue Apr 11, 2014 · 2 comments

Comments

@kadarakos
Copy link

I use sgd for training and I don't get the diagnostic messages of the trainer for some reason and I do not know what am I doing wrong:
e = Experiment(Regressor,
layers=(input_layer, hidden1, output_layer),
train_batches = 100,
optimize='sgd')

@lmjohns3
Copy link
Owner

Ah, you probably need to enable logging for your program. (By default the Python logging package does not show any output on stdout or stderr.) You can do this in any number of ways, but I think the easiest is:

import climate
climate.enable_default_logging()

The climate package is a small wrapper around the logging package; it should already be installed along with theanets. The above lines are in examples/utils.py, which is why the example scripts show the logging output.

@kadarakos
Copy link
Author

Oh nice, thank you!

2014-04-11 9:51 GMT-04:00 Leif Johnson notifications@github.com:

Closed #19 #19.

Reply to this email directly or view it on GitHubhttps://github.com//issues/19
.

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