Skip to content

Conversation

@Sukh-P
Copy link
Member

@Sukh-P Sukh-P commented Nov 12, 2025

Pull Request

Description

Changes for PVNet to support related changes in ocf-data-sampler to have one dataset/schema openclimatefix/ocf-data-sampler#375

The changes here include:

  • Updates to the target key and the input key name in the late_fusion.py file
    • Removal of the target key parameter in this file
  • Changes and simplification of the datamodule
  • Updating tests
  • Update to the migration script for huggingface models
  • Some linting changes after applying ruff

How has this been tested?

Through unit tests and also running training with these changes and the related ocf-data-sampler changes, tracking results here https://wandb.ai/openclimatefix/test_new_data_sampler to check no large changes have occured to outputs

pyproject.toml Outdated

dependencies = [
"ocf-data-sampler>=0.6.0",
"ocf-data-sampler@git+https://github.com/openclimatefix/ocf-data-sampler.git@dev-one-torch-dataset",
Copy link
Member Author

Choose a reason for hiding this comment

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

This will need updating after the ocf-data-sampler changes are merged in

@Sukh-P Sukh-P changed the title Generalised data sampler Generalised data sampler support Nov 13, 2025
@Sukh-P Sukh-P marked this pull request as ready for review November 13, 2025 16:38
Copy link
Member

@dfulu dfulu left a comment

Choose a reason for hiding this comment

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

Thanks!

@Sukh-P Sukh-P merged commit 489723d into main Nov 21, 2025
6 checks passed
@Sukh-P Sukh-P deleted the generalised-data-sampler branch November 21, 2025 11:22
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.

3 participants