Skip to content

Commit

Permalink
Update datasampler version
Browse files Browse the repository at this point in the history
  • Loading branch information
Sukh-P committed Jan 21, 2025
1 parent 9b9ff27 commit 996b168
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pvnet/data/site_datamodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from glob import glob

import xarray as xr
from ocf_data_sampler.torch_datasets.site import SitesDataset, convert_netcdf_to_numpy_sample
from ocf_data_sampler.torch_datasets.datasets.site import SitesDataset, convert_netcdf_to_numpy_sample
from torch.utils.data import Dataset

from pvnet.data.base_datamodule import BaseDataModule
Expand Down
2 changes: 1 addition & 1 deletion pvnet/data/uk_regional_datamodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import torch
from pvnet.data.base_datamodule import BaseDataModule
from ocf_data_sampler.torch_datasets.pvnet_uk_regional import PVNetUKRegionalDataset
from ocf_data_sampler.torch_datasets.datasets.pvnet_uk_regional import PVNetUKRegionalDataset
from torch.utils.data import Dataset


Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dynamic = ["version", "readme"]
license={file="LICENCE"}

dependencies = [
"ocf_data_sampler==0.0.43",
"ocf_data_sampler==0.0.47",
"ocf_datapipes>=3.3.34",
"ocf_ml_metrics>=0.0.11",
"numpy",
Expand Down

0 comments on commit 996b168

Please sign in to comment.