PyTorch Lightning Implementations of Recent Satellite Image Classification !
Project description
Satellighte
Satellite Image Classification
TABLE OF CONTENTS
About The Satellighte
Satellighte is an image classification library that consist state-of-the-art deep learning methods. It is a combination of the words 'Satellite' and 'Light', and its purpose is to establish a light structure to classify satellite images, but to obtain robust results.
Satellite image classification is the most significant technique used in remote sensing for the computerized study and pattern recognition of satellite information, which is based on diversity structures of the image that involve rigorous validation of the training samples depending on the used classification algorithm.
Source: paperswithcode
Prerequisites
Before you begin, ensure you have met the following requirements:
requirement | version |
---|---|
imageio | ~=2.15.0 |
numpy | ~=1.21.0 |
pytorch_lightning | ~=1.5.10 |
scikit-learn | ~=1.0.2 |
torch | ~=1.8.1 |
Installation
To install Satellighte, follow these steps:
From Pypi
pip install satellighte
From Source
git clone https://github.com/canturan10/satellighte.git
cd satellighte
pip install .
From Source For Development
git clone https://github.com/canturan10/satellighte.git
cd satellighte
pip install -e ".[all]"
Usage Examples
import imageio
import satellighte as sat
img = imageio.imread("test.jpg")
model = sat.Classifier.from_pretrained("model_config_dataset")
model.eval()
results = model.predict(img)
# [{'cls1': 0.55, 'cls2': 0.45}]
Architectures
For more information, please refer to the Architectures
Datasets
For more information, please refer to the Datasets
Deployments
For more information, please refer to the Deployment
Training
To training, follow these steps:
For installing Satellighte, please refer to the Installation.
python training/eurosat_training.py
For optional arguments,
python training/eurosat_training.py --help
Tests
During development, you might like to have tests run.
Install dependencies
pip install -e ".[test]"
Linting Tests
pytest satellighte --pylint --pylint-error-types=EF
Document Tests
pytest satellighte --doctest-modules
Coverage Tests
pytest --doctest-modules --cov satellighte --cov-report term
Contributing
To contribute to Satellighte
, follow these steps:
- Fork this repository.
- Create a branch:
git checkout -b <branch_name>
. - Make your changes and commit them:
git commit -m '<commit_message>'
- Push to the original branch:
git push origin
- Create the pull request.
Alternatively see the GitHub
documentation on creating a pull request.
Contributors
Oğuzcan Turan |
You ? |
Contact
If you want to contact me you can reach me at can.turan.10@gmail.com.
License
This project is licensed under MIT
license. See LICENSE
for more information.
References
The references used in the development of the project are as follows.
Citations
@article{helber2019eurosat,
title={Eurosat: A novel dataset and deep learning benchmark for land use and land cover classification},
author={Helber, Patrick and Bischke, Benjamin and Dengel, Andreas and Borth, Damian},
journal={IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing},
year={2019},
publisher={IEEE}
}
@inproceedings{helber2018introducing,
title={Introducing EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classification},
author={Helber, Patrick and Bischke, Benjamin and Dengel, Andreas and Borth, Damian},
booktitle={IGARSS 2018-2018 IEEE International Geoscience and Remote Sensing Symposium},
pages={204--207},
year={2018},
organization={IEEE}
}
@article{DBLP:journals/corr/abs-1801-04381,
author = {Mark Sandler and
Andrew G. Howard and
Menglong Zhu and
Andrey Zhmoginov and
Liang{-}Chieh Chen},
title = {Inverted Residuals and Linear Bottlenecks: Mobile Networks for Classification,
Detection and Segmentation},
journal = {CoRR},
volume = {abs/1801.04381},
year = {2018},
url = {http://arxiv.org/abs/1801.04381},
archivePrefix = {arXiv},
eprint = {1801.04381},
timestamp = {Tue, 12 Jan 2021 15:30:06 +0100},
biburl = {https://dblp.org/rec/journals/corr/abs-1801-04381.bib},
bibsource = {dblp computer science bibliography, https://dblp.org}
}
Give a ⭐️ if this project helped you!
This readme file is made using the readme-template
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file satellighte-0.0.5.tar.gz
.
File metadata
- Download URL: satellighte-0.0.5.tar.gz
- Upload date:
- Size: 24.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.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.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86bdd3762d79013b7bdfc0b0e8c642b8b144ada3106b352ea8d5321e11c80fd9 |
|
MD5 | 81d5be84fc16b8d2f515a0db92e6936d |
|
BLAKE2b-256 | 85d22da7a513346f78c2129acc5377721be726ad1d854dce5e19e5ed5781e05d |
File details
Details for the file satellighte-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: satellighte-0.0.5-py3-none-any.whl
- Upload date:
- Size: 25.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.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.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 756133c83369652dd26c23a4c8172432cd6b34dca143ec695716551cae643305 |
|
MD5 | de7166c9b1991a57857724821db4a07d |
|
BLAKE2b-256 | 21f471f2708d6bc7d1484028164d6b4d5eed9270b353b19b8ca1e5276bfc1ab2 |