Skip to content

Conversation

JamesAllingham
Copy link

The loss_fn lambda was not being used and as a result, only the losses and not any info can be retrieved, for e.g by saying loss_fn = lambda r: {"val_NLL": r.loss, "val_err": r.info['valid err']}.

This PR does not change the default behaviour.

…class

The loss_fn lambda was not being used and as a result, only the losses and not any info can be retrieved. For e.g by saying loss_fn = lambda r: {"val_NLL": r.loss, "val_err": r.info['valid err']}.
@codecov-io
Copy link

Codecov Report

Merging #86 into master will decrease coverage by 0.37%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master      #86      +/-   ##
==========================================
- Coverage   65.16%   64.78%   -0.38%     
==========================================
  Files          28       28              
  Lines        1846     1846              
==========================================
- Hits         1203     1196       -7     
- Misses        643      650       +7     

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

Successfully merging this pull request may close these issues.

2 participants