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

Return nan if val loader is empty #124

Merged
merged 1 commit into from
Apr 20, 2024
Merged

Return nan if val loader is empty #124

merged 1 commit into from
Apr 20, 2024

Conversation

rasbt
Copy link
Owner

@rasbt rasbt commented Apr 20, 2024

A small modification so that the calc_loss_loader returns "nan" if a user specifies a large training ratio so that the validation loader batches are 0.

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@rasbt rasbt merged commit c70ddff into main Apr 20, 2024
3 checks passed
@rasbt rasbt deleted the loss-loader branch April 20, 2024 13:02
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.

1 participant