Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Rollout video of variable dynamics #65

Merged
merged 48 commits into from
Nov 18, 2024

Conversation

sahahner
Copy link
Member

@sahahner sahahner commented Sep 27, 2024

Create a video of a forecast of several variables starting from a validation sample.

This functionality builds up on the LongRolloutPlot function, which saves snapshots after longer rollouts.

The number of rollout steps can be higher than the number of rollout steps used for training.
To allow longer rollouts in validation, the validation batches are made longer. This has no effect on the actual batch size.
The runtime to do the rollout is low, but creating multiple scatter plots and saving them to a gif takes around a minute per variable for a 14-day rollout of 6-hourly forecasts.
Therefore, by default, the video rollout is not enabled.
If enabled, the default is to do a 56-step forecast video every 20 epochs.

Possible reviewers: @lzampier, @mc4117, @HCookie

sahahner and others added 24 commits August 13, 2024 11:20
…s pressure level variables and small fix for grouping of less than 15 variables in loss contribution histogram
…ub.com:ecmwf/anemoi-training into 23-plot-a-validation-sample-after-long-rollout
…ub.com:ecmwf/anemoi-training into 23-plot-a-validation-sample-after-long-rollout
@sahahner sahahner self-assigned this Sep 27, 2024
CHANGELOG.md Outdated Show resolved Hide resolved
@mchantry
Copy link
Member

Neat PR, what's the cost overhead of this?

@HCookie
Copy link
Member

HCookie commented Oct 1, 2024

Hopefully it won't be much work, but the callbacks are being refactored in parallel,
#60
Likely that will be merged in before this. So it should be as simple as pulling this callback into the appropriate sub module

@sahahner sahahner marked this pull request as ready for review November 11, 2024 11:05
@sahahner sahahner requested a review from HCookie November 11, 2024 13:07
@HCookie
Copy link
Member

HCookie commented Nov 12, 2024

Do you have an example of the gif as saved in mlflow?

@sahahner
Copy link
Member Author

Do you have an example of the gif as saved in mlflow?

Have a look at this one: https://mlflow.ecmwf.int/#/experiments/23/runs/6172b5513408422f967895ecbe6101c2/artifacts

@sahahner sahahner added the enhancement New feature or request label Nov 13, 2024
@sahahner sahahner requested a review from lzampier November 18, 2024 15:10
@sahahner sahahner merged commit 7f4023d into develop Nov 18, 2024
117 checks passed
@sahahner sahahner deleted the feature/callback/video-of-variable-dynamics branch November 18, 2024 15:15
@HCookie HCookie mentioned this pull request Nov 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants