This release is a pre-release and may not be stable for production use.
EOTorchLoader: aerial and satellite imagery datamodule for pytorch
EOTorchLoader is an open source project and Python package to simplify the use of Earth Observation imagery in deep learning and in particular for pytorch and pytorch lighnting code.
!! EARLY WORK In PROGRESS !!
Why EOTorchLoader?
Earth Observation (EO) imageries have often a large size, their height and width could easily be larger than 10k pixels, possesses more spectral bands than RVB, and also come with multi-modality : spectral imagery, SAR, height data, etc. Due to this caracteristics, EO imagery must be pre-process in order to be used in common deep learning framework as pytorch and pytorch-lightning.
One of the most common pre-processing is the chipping|tiling|croping of large EO images into small images|patchs in order to format data in the same way than natural imageries are formatted in standard deep learning datasets (ImageNet or Cityscape). It could be made offline when writing the tiling results in disk or online during the training of DL models. The latter has the advantage of not duplicated data and to enable random cropping in large imagery during training (vs fixed cropping).
Another distinctive features of EO imagery is that patchs/tiles of a large EO image could not always be seen as independants as it exists a strong spatial correlation in EOData. So in order to train a DL models on EO data and to measure is genericity this spatial correlation should be taken in account and the split between fold or train|validation|test should be made with distinct geographical area and not by random splitting of tile|patch.
Finally due to their multi-modal and multi-spectral aspects, EOData need specifics transforms for data augmentation in DL training, and common data augmentation libray as albumentation or kornia are useful but not sufficients for EO imagery
So EOTorchLoader aims is to bring the following features for deep learning processing of Earth observation data :
- efficient online tiling|croping of EO data in Dataloader
- enable the use of geographic split between train/val/test or kfold dataset following good pratices.
- add useful transform for EO imagery.
- configurable with hydra/omegaconf.
Documentation
Learn more about EOTorchLoader in its official documentation at https://ndavid.github.io/EOTorchLoader/
License
Copyright 2022 Nicolas David
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Metadata
Release files for EOTorchLoader 0.1.0a0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| EOTorchLoader-0.1.0a0.tar.gz | 14.1 kB | Without provenance | Details for EOTorchLoader-0.1.0a0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| EOTorchLoader-0.1.0a0-py3-none-any.whl | Python 3 | none | any | Details for EOTorchLoader-0.1.0a0-py3-none-any.whl |
Total release size: 35.3 kB
Release files / EOTorchLoader-0.1.0a0.tar.gz
| Download URL | EOTorchLoader-0.1.0a0.tar.gz |
|---|---|
| Size | 14.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c0a5fece8760fd5f40cd074cedb5acd2f1375a0dda90963ed59a1778cef6553
|
|
BLAKE2b-256 checksum How to use checksums |
0dbb86c9857410fd0a078492c6feb70855a443911757d97dfbc00e7c664331b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/0.0.0 pkginfo/1.8.2 readme-renderer/27.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.4.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Release files / EOTorchLoader-0.1.0a0-py3-none-any.whl
| Download URL | EOTorchLoader-0.1.0a0-py3-none-any.whl |
|---|---|
| Size | 21.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d1c95aaca465d8b63b06545617158dd8facba5a2e0553c472ece4ac72d482ec0
|
|
BLAKE2b-256 checksum How to use checksums |
98b09fa178cf52a316aea45bc4a6cda62fc71dce95c444010b7635ed9c169cd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/0.0.0 pkginfo/1.8.2 readme-renderer/27.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.4.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|
Security for EOTorchLoader 0.1.0a0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.