Skip to content

Commit

Permalink
Merge pull request #381 from IBM/main
Browse files Browse the repository at this point in the history
Update branch
  • Loading branch information
blumenstiel authored Jan 23, 2025
2 parents 01f70cb + 163105b commit dc2e9f3
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/required.txt -r requirements/test.txt -r requirements/optional.txt
#pip install -r requirements/required.txt -r requirements/test.txt -r requirements/optional.txt
pip install -r requirements/test.txt -r requirements/optional.txt
pip install -e .[torchgeo]
pip install git+https://github.com/NASA-IMPACT/Prithvi-WxC.git
pip install git+https://github.com/IBM/granite-wxc.git
- name: List pip dependencies
Expand Down
6 changes: 3 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ plugins:
paths: [src] # search packages in the src folde
options:
show_root_heading: true
extra:
version:
provider: mike
#extra:
# version:
# provider: mike

site_url: https://ibm.github.io/terratorch/
repo_url: https://github.com/IBM/terratorch
Expand Down
19 changes: 18 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ dependencies = [
"torchgeo>=0.6.0",
"rioxarray>=0.15.0",
# see issue #64
"albumentations>=1.3.1, <=1.4.10",
"albumentations>=1.3.1, <=1.4.21",
"albucore<=0.0.16",
"rasterio>=1.3.9",
"torchmetrics<=1.3.1",
Expand All @@ -50,6 +50,23 @@ dependencies = [
]

[project.optional-dependencies]
torchgeo = [
"torch==2.4.1",
"torchvision==0.19.1",
"torchgeo @ git+https://github.com/microsoft/torchgeo.git@fedf99375535f801565856cd774bfa9e5a251d55",
"rioxarray>=0.15.0",
"albumentations==1.3.1",
"albucore<=0.0.16",
"rasterio>=1.3.9",
"torchmetrics<=1.3.1",
"geopandas>=0.14.4",
"lightly>=1.4.25",
"h5py>=3.10.0",
"mlflow>=2.12.1",
"lightning[pytorch-extra]>=2,!=2.3.*",
"segmentation-models-pytorch>=0.3"
]

dev = [
"black",
"mkdocs-material",
Expand Down

0 comments on commit dc2e9f3

Please sign in to comment.