Skip to content

Add input validation and minor cleanup#574

Closed
agentksimha wants to merge 2 commits intomllam:mainfrom
agentksimha:main
Closed

Add input validation and minor cleanup#574
agentksimha wants to merge 2 commits intomllam:mainfrom
agentksimha:main

Conversation

@agentksimha
Copy link
Copy Markdown

wmse and wmae: assert pred and target shapes match before computation, surfacing mismatches early with a clear error
nll: clamp pred_std from below (min=1e-6) to prevent the Gaussian distribution from collapsing to a spike and blowing up log_prob
WeatherDataModule: extract _make_dataloader helper to deduplicate the shared 7-argument DataLoader configuration across train_dataloader, val_dataloader, and test_dataloader

@sadamov sadamov added the bug Something isn't working label Apr 13, 2026
@sadamov
Copy link
Copy Markdown
Collaborator

sadamov commented Apr 27, 2026

mostly a duplicate of #552 and also: I am closing this because of incomplete template and missing issue

@sadamov sadamov closed this Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants