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

Feature: Add input/output tensor component ranges to network files #138

Merged
merged 10 commits into from
Apr 1, 2024

Conversation

rouson
Copy link
Contributor

@rouson rouson commented Mar 30, 2024

This PR facilitates storing the range of values encountered in the training data for purposes of

  1. Preventing undesired extrapolation during inference and
  2. Normalizing inputs and unnormalizing outputs during inference to match the practice used in training.

See the cloud-microphysics subdirectory for an example of mechanics and utility of training-data normalization to aid convergence.

BREAKING CHANGE: network files will now contain a tensor_range JSON objects for inputs followed by a tensor_range JSON object for outputs, each of which stores a string label ("inputs" for the first and "outputs" for the second) followed by "minima" arrays and "maxima" arrays.

@rouson rouson merged commit a467101 into main Apr 1, 2024
4 checks passed
@rouson rouson deleted the edit-network-json branch April 1, 2024 03:29
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