RS pretrained models in huggingface style
Project description
rshf
Remote sensing pretrained models easy loading using huggingface -- PyTorch (for fast benchmarking)
Installation:
pip install rshf
Example:
from rshf.satmae import SatMAE
model = SatMAE.from_pretrained("MVRL/satmae-vitlarge-fmow-pretrain-800")
input = model.transform(torch.randint(0, 256, (224, 224, 3)).float().numpy(), 224).unsqueeze(0)
print(model.forward_encoder(input, mask_ratio=0.0)[0].shape)
TODO:
- Add transforms for each model
- Add Documentation (https://rshf-docs.readthedocs.io/en/latest/)
- Add initial set of models
Citations
| Model Type | Venue | Citation |
|---|---|---|
| BioCLIP | CVPR'24 | link |
| CLIP | ICML'21 | link |
| CROMA | NeurIPS'23 | link |
| GeoCLAP | BMVC'23 | link |
| GeoCLIP | NeurIPS'23 | link |
| Presto | link | |
| Prithvi | link | |
| RemoteCLIP | TGRS'23 | link |
| RVSA | TGRS'22 | link |
| Sat2Cap | EarthVision'24 | link |
| SatClip | link | |
| SatMAE | NeurIPS'22 | link |
| SatMAE++ | CVPR'24 | link |
| ScaleMAE | ICCV'23 | link |
| SenCLIP | WACV'25 | link |
| SINR | ICML'23 | link |
| StreetCLIP | link | |
| TaxaBind | WACV'25 | link |
List of models available here: Link
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
rshf-0.1.7.tar.gz
(2.0 MB
view details)
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
rshf-0.1.7-py3-none-any.whl
(2.0 MB
view details)
File details
Details for the file rshf-0.1.7.tar.gz.
File metadata
- Download URL: rshf-0.1.7.tar.gz
- Upload date:
- Size: 2.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2682b73a1b12708feef50a05c5402bdd967460545b2905cb399fa7bafe44d92
|
|
| MD5 |
fbdd07272b826f9ffb0fcc5e167f4014
|
|
| BLAKE2b-256 |
fdf4839d70f92600d74631d8591e28eb6b87ecb94307be644d685972ab4a0664
|
File details
Details for the file rshf-0.1.7-py3-none-any.whl.
File metadata
- Download URL: rshf-0.1.7-py3-none-any.whl
- Upload date:
- Size: 2.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbfd6c6591510edd8d7652f6f3cfa6425367d8c0bbe227afa8324f8e456cc175
|
|
| MD5 |
c64d1daaa571f83e297ac975ee1b8017
|
|
| BLAKE2b-256 |
567eaaeea1f304f90b7e4733bb9cbadab2ac47ab5da54c2d8e39e363a8611b09
|