rshf


Namershf JSON
Version 0.1.11 PyPI version JSON
download
home_pagehttps://github.com/mvrl/rshf
SummaryRS pretrained models in huggingface style
upload_time2025-07-17 19:31:33
maintainerNone
docs_urlNone
authorSrikumar Sastry
requires_python>=3.9
licenseNone
keywords remote sensing huggingface
VCS
bugtrack_url
requirements torch timm numpy huggingface_hub einops transformers open_clip_torch torchaudio openai-clip
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # rshf
[![PyPI - Version](https://img.shields.io/pypi/v/rshf)](https://pypi.org/project/rshf/)
[![PyPI Downloads](https://static.pepy.tech/badge/rshf)](https://pypistats.org/packages/rshf)
[![PyPI Docs](https://img.shields.io/readthedocs/rshf)](https://rshf-docs.readthedocs.io/en/latest/)


### Remote sensing pretrained models easy loading using huggingface -- PyTorch (for fast benchmarking)

### Installation:
```bash
pip install rshf
```

### Example:
```python
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/)
- [x] Add initial set of models

### Citations

|Model Type|Venue|Citation|
|----------|-----|--------|
|BioCLIP|CVPR'24|[link](./rshf/bioclip/README.md)
|Climplicit|ICLRW'25|[link](./rshf/climplicit/README.md)
|CLIP|ICML'21|[link](./rshf/clip/README.md)
|CROMA|NeurIPS'23|[link](./rshf/croma/README.md)
|GeoCLAP|BMVC'23|[link](./rshf/geoclap/README.md)
|GeoCLIP|NeurIPS'23|[link](./rshf/geoclip/README.md)
|Presto||[link](./rshf/presto/README.md)
|Prithvi||[link](./rshf/prithvi/README.md)
|RCME|ICCV'25|[link](./rshf/rcme/README.md)
|RemoteCLIP|TGRS'23|[link](./rshf/remoteclip/README.md)
|RVSA|TGRS'22|[link](./rshf/rvsa/README.md)
|Sat2Cap|EarthVision'24|[link](./rshf/sat2cap/README.md)
|SatClip|AAAI'25|[link](./rshf/satclip/README.md)
|SatMAE|NeurIPS'22|[link](./rshf/satmae/README.md)
|SatMAE++|CVPR'24|[link](./rshf/satmaepp/README.md)
|ScaleMAE|ICCV'23|[link](./rshf/scalemae/README.md)
|SenCLIP|WACV'25|[link](./rshf/senclip/README.md)
|SINR|ICML'23|[link](./rshf/sinr/README.md)
|StreetCLIP||[link](./rshf/streetclip/README.md)
|TaxaBind|WACV'25|[link](./rshf/taxabind/README.md)
### List of models available here: [Link](https://huggingface.co/collections/MVRL/remote-sensing-foundation-models-664e8fcd67d8ca8c03f42d00)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/mvrl/rshf",
    "name": "rshf",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "Remote Sensing, Huggingface",
    "author": "Srikumar Sastry",
    "author_email": "s.sastry@wustl.edu",
    "download_url": "https://files.pythonhosted.org/packages/d3/70/34652e8e1336869fe9b85059383e430a6855f81a62a795249769a931f0b7/rshf-0.1.11.tar.gz",
    "platform": null,
    "description": "# rshf\n[![PyPI - Version](https://img.shields.io/pypi/v/rshf)](https://pypi.org/project/rshf/)\n[![PyPI Downloads](https://static.pepy.tech/badge/rshf)](https://pypistats.org/packages/rshf)\n[![PyPI Docs](https://img.shields.io/readthedocs/rshf)](https://rshf-docs.readthedocs.io/en/latest/)\n\n\n### Remote sensing pretrained models easy loading using huggingface -- PyTorch (for fast benchmarking)\n\n### Installation:\n```bash\npip install rshf\n```\n\n### Example:\n```python\nfrom rshf.satmae import SatMAE\nmodel = SatMAE.from_pretrained(\"MVRL/satmae-vitlarge-fmow-pretrain-800\")\ninput = model.transform(torch.randint(0, 256, (224, 224, 3)).float().numpy(), 224).unsqueeze(0)\nprint(model.forward_encoder(input, mask_ratio=0.0)[0].shape)\n```\n\n### TODO:\n- [ ] Add transforms for each model\n- [ ] Add Documentation (https://rshf-docs.readthedocs.io/en/latest/)\n- [x] Add initial set of models\n\n### Citations\n\n|Model Type|Venue|Citation|\n|----------|-----|--------|\n|BioCLIP|CVPR'24|[link](./rshf/bioclip/README.md)\n|Climplicit|ICLRW'25|[link](./rshf/climplicit/README.md)\n|CLIP|ICML'21|[link](./rshf/clip/README.md)\n|CROMA|NeurIPS'23|[link](./rshf/croma/README.md)\n|GeoCLAP|BMVC'23|[link](./rshf/geoclap/README.md)\n|GeoCLIP|NeurIPS'23|[link](./rshf/geoclip/README.md)\n|Presto||[link](./rshf/presto/README.md)\n|Prithvi||[link](./rshf/prithvi/README.md)\n|RCME|ICCV'25|[link](./rshf/rcme/README.md)\n|RemoteCLIP|TGRS'23|[link](./rshf/remoteclip/README.md)\n|RVSA|TGRS'22|[link](./rshf/rvsa/README.md)\n|Sat2Cap|EarthVision'24|[link](./rshf/sat2cap/README.md)\n|SatClip|AAAI'25|[link](./rshf/satclip/README.md)\n|SatMAE|NeurIPS'22|[link](./rshf/satmae/README.md)\n|SatMAE++|CVPR'24|[link](./rshf/satmaepp/README.md)\n|ScaleMAE|ICCV'23|[link](./rshf/scalemae/README.md)\n|SenCLIP|WACV'25|[link](./rshf/senclip/README.md)\n|SINR|ICML'23|[link](./rshf/sinr/README.md)\n|StreetCLIP||[link](./rshf/streetclip/README.md)\n|TaxaBind|WACV'25|[link](./rshf/taxabind/README.md)\n### List of models available here: [Link](https://huggingface.co/collections/MVRL/remote-sensing-foundation-models-664e8fcd67d8ca8c03f42d00)\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "RS pretrained models in huggingface style",
    "version": "0.1.11",
    "project_urls": {
        "Homepage": "https://github.com/mvrl/rshf"
    },
    "split_keywords": [
        "remote sensing",
        " huggingface"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "ee009c05a1069bfdd62027fb0973b1dae91af029940d98bc9d4cfbf4a4582628",
                "md5": "c039f6454f91e04401224b09199cc1df",
                "sha256": "3763c26bdc4fa7dcbe9163d48071bd54806d74d0edb16e9bc3a9f7393a6cdcd8"
            },
            "downloads": -1,
            "filename": "rshf-0.1.11-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c039f6454f91e04401224b09199cc1df",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 2035444,
            "upload_time": "2025-07-17T19:31:31",
            "upload_time_iso_8601": "2025-07-17T19:31:31.043452Z",
            "url": "https://files.pythonhosted.org/packages/ee/00/9c05a1069bfdd62027fb0973b1dae91af029940d98bc9d4cfbf4a4582628/rshf-0.1.11-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "d37034652e8e1336869fe9b85059383e430a6855f81a62a795249769a931f0b7",
                "md5": "4b65f642a2f98d3f94774b64cb75b724",
                "sha256": "a7ff64731501aa4c551c345896a7e0bb8aeded997b827afd5d2031e66382ffb6"
            },
            "downloads": -1,
            "filename": "rshf-0.1.11.tar.gz",
            "has_sig": false,
            "md5_digest": "4b65f642a2f98d3f94774b64cb75b724",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 1990462,
            "upload_time": "2025-07-17T19:31:33",
            "upload_time_iso_8601": "2025-07-17T19:31:33.169428Z",
            "url": "https://files.pythonhosted.org/packages/d3/70/34652e8e1336869fe9b85059383e430a6855f81a62a795249769a931f0b7/rshf-0.1.11.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-17 19:31:33",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "mvrl",
    "github_project": "rshf",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "torch",
            "specs": [
                [
                    ">=",
                    "2.3.0"
                ]
            ]
        },
        {
            "name": "timm",
            "specs": [
                [
                    ">=",
                    "1.0.3"
                ]
            ]
        },
        {
            "name": "numpy",
            "specs": [
                [
                    ">=",
                    "2.0"
                ]
            ]
        },
        {
            "name": "huggingface_hub",
            "specs": [
                [
                    ">=",
                    "0.23.1"
                ]
            ]
        },
        {
            "name": "einops",
            "specs": [
                [
                    ">=",
                    "0.8.0"
                ]
            ]
        },
        {
            "name": "transformers",
            "specs": [
                [
                    ">=",
                    "4.41.1"
                ]
            ]
        },
        {
            "name": "open_clip_torch",
            "specs": [
                [
                    ">=",
                    "2.24.0"
                ]
            ]
        },
        {
            "name": "torchaudio",
            "specs": []
        },
        {
            "name": "openai-clip",
            "specs": [
                [
                    ">=",
                    "1.0.1"
                ]
            ]
        }
    ],
    "lcname": "rshf"
}
        
Elapsed time: 1.76855s