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

Encoder and Decoder #117

Merged
merged 7 commits into from
Jul 2, 2024
Merged

Conversation

gbruno16
Copy link
Contributor

Pull Request

Description

This PR implements the changes discussed in #113

@gbruno16 gbruno16 self-assigned this Jun 26, 2024
@gbruno16 gbruno16 linked an issue Jun 26, 2024 that may be closed by this pull request
Copy link

codecov bot commented Jun 26, 2024

Codecov Report

Attention: Patch coverage is 90.53254% with 16 lines in your changes missing coverage. Please review.

Project coverage is 68.02%. Comparing base (ab7bc74) to head (b9e7816).
Report is 15 commits behind head on main.

Current head b9e7816 differs from pull request most recent head 3fa681f

Please upload reports for the commit 3fa681f to get more accurate results.

Files Patch % Lines
graph_weather/data/gencast_dataloader.py 0.00% 13 Missing ⚠️
graph_weather/models/gencast/denoiser.py 98.48% 1 Missing ⚠️
graph_weather/models/gencast/layers/decoder.py 93.75% 1 Missing ⚠️
graph_weather/models/gencast/layers/modules.py 97.36% 1 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (ab7bc74) and HEAD (b9e7816). Click for more details.

HEAD has 3 uploads less than BASE | Flag | BASE (ab7bc74) | HEAD (b9e7816) | |------|------|------| ||7|4|
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #117       +/-   ##
===========================================
- Coverage   79.57%   68.02%   -11.56%     
===========================================
  Files          13       29       +16     
  Lines         426     1354      +928     
===========================================
+ Hits          339      921      +582     
- Misses         87      433      +346     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

noise_levels (torch.Tensor): the noise level used for corruption.
"""
# check shapes.
self._check_shapes(corrupted_targets, prev_inputs, noise_levels)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i like this

@gbruno16 gbruno16 merged commit c0ba0f1 into openclimatefix:main Jul 2, 2024
1 check failed
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.

GenCast encoder and decoder
2 participants