This repository was archived by the owner on Sep 11, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +9
-3
lines changed
Expand file tree Collapse file tree 4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 2121 pip install flake8 pytest
2222 if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
2323 pip install git+https://github.com/SheffieldSolar/PV_Live-API
24- pip install -e .
24+ pip install -e .[torch]
2525 - name : Lint with flake8
2626 run : |
2727 # stop the build if there are Python syntax errors or undefined names
Original file line number Diff line number Diff line change @@ -45,6 +45,13 @@ conda activate nowcasting_dataset
4545pip install -e .
4646```
4747
48+ Note you can install the [ pytorch] ( https://github.com/pytorch/pytorch )
49+ and [ pytorch_lightning] ( https://github.com/PyTorchLightning/pytorch-lightning ) using
50+ ``` shell
51+ pip install -e .[torch]
52+ ```
53+ but it is only used to create a dataloader for machine learning models.
54+
4855## Pip
4956
5057A (probably older) version is also available through ` pip install nowcasting-dataset `
Original file line number Diff line number Diff line change 88ipykernel
99h5netcdf
1010gcsfs
11- torch
12- pytorch-lightning
1311dask
1412pvlib
1513pyproj
Original file line number Diff line number Diff line change 1717 author_email = "info@openclimatefix.org" ,
1818 company = "Open Climate Fix Ltd" ,
1919 install_requires = install_requires ,
20+ extras_require = {"torch" : ["torch" , "pytorch_lightning" ]},
2021 long_description = long_description ,
2122 long_description_content_type = "text/markdown" ,
2223 packages = find_packages (),
You can’t perform that action at this time.
0 commit comments