Skip to content

Commit

Permalink
host PatternNet on HF (microsoft#2100)
Browse files Browse the repository at this point in the history
* host PatternNet on HF

* patternnet license
  • Loading branch information
burakekim authored May 31, 2024
1 parent d91b391 commit b9b9ab4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/api/non_geo_datasets.csv
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Dataset,Task,Source,License,# Samples,# Classes,Size (px),Resolution (m),Bands
`NASA Marine Debris`_,OD,PlanetScope,"Apache-2.0",707,1,256x256,3,RGB
`OSCD`_,CD,Sentinel-2,"CC-BY-4.0",24,2,"40--1,180",60,MSI
`PASTIS`_,I,Sentinel-1/2,"CC-BY-4.0","2,433",19,128x128xT,10,MSI
`PatternNet`_,C,Google Earth,-,"30,400",38,256x256,0.06--5,RGB
`PatternNet`_,C,Google Earth,"CC-BY-4.0","30,400",38,256x256,0.06--5,RGB
`Potsdam`_,S,Aerial,-,38,6,"6,000x6,000",0.05,MSI
`QuakeSet`_,"C, R",Sentinel-1,"OpenRAIL","3,327",2,512x512,10,SAR
`ReforesTree`_,"OD, R",Aerial,"CC-BY-4.0",100,6,"4,000x4,000",0.02,RGB
Expand Down
2 changes: 1 addition & 1 deletion torchgeo/datasets/patternnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class PatternNet(NonGeoClassificationDataset):
* https://doi.org/10.1016/j.isprsjprs.2018.01.004
"""

url = 'https://drive.google.com/file/d/127lxXYqzO6Bd0yZhvEbgIfz95HaEnr9K'
url = 'https://hf.co/datasets/torchgeo/PatternNet/resolve/2dbd901b00e301967a5c5146b25454f5d3455ad0/PatternNet.zip'
md5 = '96d54b3224c5350a98d55d5a7e6984ad'
filename = 'PatternNet.zip'
directory = os.path.join('PatternNet', 'images')
Expand Down

0 comments on commit b9b9ab4

Please sign in to comment.