A library for developing remote sensing datasets and models
Project description
rslearn is a tool for developing remote sensing datasets and models.
rslearn helps with:
- Developing remote sensing datasets, starting with defining spatiotemporal windows (3D boxes in height/width/time) that are roughly equivalent to training examples.
- Importing raster and vector data from various online or local data sources into the dataset.
- Fine-tuning remote sensing foundation models on these datasets.
- Applying models on new locations and times.
Quickstart
If you are new to rslearn, we suggest starting here:
- First, read CoreConcepts, which summarizes key concepts in rslearn, including datasets, windows, layers, and data sources.
- Second, read WorkflowOverview, which provides an overview of the typical workflow in rslearn, from defining windows to training models.
- Finally, walk through the IntroExample, or find another example in Examples.md that can most readily be adapted for your project.
Other links:
- DatasetConfig documents the dataset configuration file.
- DataSources details the built-in data sources in rslearn, from which raster and vector data can be imported into rslearn dataset layers.
- ModelConfig documents the model configuration file.
- TasksAndModels details the training tasks and model components available in rslearn.
Setup
rslearn requires Python 3.11+ (Python 3.12 is recommended).
git clone https://github.com/allenai/rslearn.git
cd rslearn
pip install .[extra]
For linting and tests:
pip install .[dev]
pre-commit install
pre-commit run --all-files
pytest tests/unit tests/integration
# For online data source tests, you can store credentials in .env and they will be
# loaded by pytest-dotenv.
pytest tests/online
Contact
For questions and suggestions, please open an issue on GitHub.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rslearn-0.1.2.tar.gz.
File metadata
- Download URL: rslearn-0.1.2.tar.gz
- Upload date:
- Size: 411.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8cd83c4472b3738f6d26dbfefc19aafcad59cdd59b20111b09a522a880ebe4d1
|
|
| MD5 |
ef6d13e1909a473e73ae25418ba887ee
|
|
| BLAKE2b-256 |
a96ef46e6a64f0036891ad9c24979af55793b00b90c5e5588967e7f0b9aeb564
|
Provenance
The following attestation bundles were made for rslearn-0.1.2.tar.gz:
Publisher:
publish.yml on allenai/rslearn
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rslearn-0.1.2.tar.gz -
Subject digest:
8cd83c4472b3738f6d26dbfefc19aafcad59cdd59b20111b09a522a880ebe4d1 - Sigstore transparency entry: 1228669726
- Sigstore integration time:
-
Permalink:
allenai/rslearn@1f6a78ae53537f17937e952cf75bb8ac81ae1492 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/allenai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1f6a78ae53537f17937e952cf75bb8ac81ae1492 -
Trigger Event:
release
-
Statement type:
File details
Details for the file rslearn-0.1.2-py3-none-any.whl.
File metadata
- Download URL: rslearn-0.1.2-py3-none-any.whl
- Upload date:
- Size: 518.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3075330bbff13d12d3d8a80f40f75e772c6e914453f98c7ec8b73c50ab64c8d
|
|
| MD5 |
67aa47fa818b6fc5387ee9508d7d1b03
|
|
| BLAKE2b-256 |
f45b925d96b8372a6c3217b10a0239db901291e957cd6e6d76e72c2a1a59c02c
|
Provenance
The following attestation bundles were made for rslearn-0.1.2-py3-none-any.whl:
Publisher:
publish.yml on allenai/rslearn
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rslearn-0.1.2-py3-none-any.whl -
Subject digest:
a3075330bbff13d12d3d8a80f40f75e772c6e914453f98c7ec8b73c50ab64c8d - Sigstore transparency entry: 1228669746
- Sigstore integration time:
-
Permalink:
allenai/rslearn@1f6a78ae53537f17937e952cf75bb8ac81ae1492 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/allenai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1f6a78ae53537f17937e952cf75bb8ac81ae1492 -
Trigger Event:
release
-
Statement type: