-
Notifications
You must be signed in to change notification settings - Fork 10
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
Gb/fix tests #16
Merged
Merged
Gb/fix tests #16
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… is now instantiated in SpatialBatchHandler.make(). Added indexing routine to treat time dimension as stacked for the purposes of getting batches. Added raster index caching and __len__/shape properties.
…ated all doc strings ;)
…age works and the model trains
…ass spatial_sample_shape and n_spatial_slices. Also changed n_batches to n_temporal_slices
…taHandler which get a data chunk from randomly selected spatial sample and time index. SpatialBatchHandler iterates over these random batches until it hits n_batches, a user specified input. Will have to determine reasonable epoch length for this. Hopefully didnt miss doc string updates. Updated tests run.
…_handler.val_data. This class takes the validation indices (spatial_slices) and creates a dict of all validation indices across all handlers, with handler indices. The iterator builds arrays with n_observations = batch_size as it goes through all validation indices.
…the last batch (dumb)
…> 0.45 not most recent mean batch loss
… outside of loss boundaries instead of the single batch loss
…ved model dir. makes it more portable
bnb32
approved these changes
Feb 14, 2022
bnb32
approved these changes
Feb 14, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.