Datasets:
Upload solarplantsbrazil.zip
Browse files# TorchGeo-Compatible Download: Solar Plants Brazil
To simplify integration with PyTorch and the [TorchGeo](https://github.com/microsoft/torchgeo) library, this dataset is also available as a single compressed archive.
The `.zip` file contains the full dataset folder structure:
```
solarplantsbrazil.zip
βββ train/
β βββ input/
β βββ labels/
βββ val/
β βββ input/
β βββ labels/
βββ test/
βββ input/
βββ labels/
```
---
## Direct Download URL (for TorchGeo `download=True` usage)
```
https://huggingface.co/datasets/FederCO23/solar-plants-brazil/resolve/main/solarplantsbrazil.zip
```
---
## TorchGeo Integration Example
When using this dataset in TorchGeo, your dataset class should include the following `_download()` method:
```python
from .utils import download_and_extract_archive
def _download(self) -> None:
download_and_extract_archive(
url=self.url,
download_root=self.root,
filename="solarplantsbrazil.zip"
)
```
This allows users to load the dataset with:
```python
from torchgeo.datasets import SolarPlantsBrazil
dataset = SolarPlantsBrazil(split="train", root="data/", download=True)
```
No manual downloading or extraction is required.
---
## Questions or Suggestions?
Feel free to reach out via the [dataset discussion tab](https://huggingface.co/datasets/FederCO23/solar-plants-brazil/discussions) or contact the creator directly:
- π€ **Federico Bessi**
- π§ [email protected]
- π [LinkedIn](https://www.linkedin.com/in/federico-bessi)
- solarplantsbrazil.zip +3 -0
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:da73fafa61f655e05e145d353c77e28e69819863d172e5c864714bb47966f47f
|
3 |
+
size 133974308
|