Skip to content

Commit

Permalink
remove clone depth from ocf-data-sampler install in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
zakwatts committed Mar 4, 2025
1 parent e9837bb commit 40843db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ here: https://huggingface.co/datasets/openclimatefix/uk_pv

Outside the PVNet repo, clone the ocf-data-sampler repo and exit the conda env created for PVNet: https://github.com/openclimatefix/ocf-data-sampler
```bash
git clone --depth 1 https://github.com/openclimatefix/ocf-data-sampler.git
git clone https://github.com/openclimatefix/ocf-data-sampler.git
conda create -n ocf-data-sampler python=3.11
```

Expand All @@ -114,6 +114,8 @@ Then exit this environment, and enter back into the pvnet conda environment and
pip install -e <PATH-TO-ocf-data-sampler-REPO>
```

If you install the local version of `ocf-data-sampler` that is more recent than the version specified in PVNet, you might receive a warning. However, it should still function correctly.

## Generating pre-made batches of data for training/validation of PVNet

PVNet contains a script for generating batches of data suitable for training the PVNet models. To run the script you will need to make some modifications to the datamodule configuration.
Expand Down

0 comments on commit 40843db

Please sign in to comment.