rshf


Namershf JSON
Version 0.1.12 PyPI version JSON
download
home_pagehttps://github.com/mvrl/rshf
SummaryRS pretrained models in huggingface style
upload_time2025-08-25 19:47:43
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/6f/17/c43264f7d1077cb8f8d758a8fb9327397b900a6719f6cd0106b132e2956d/rshf-0.1.12.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.12",
    "project_urls": {
        "Homepage": "https://github.com/mvrl/rshf"
    },
    "split_keywords": [
        "remote sensing",
        " huggingface"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "16e86611019a415efb43929a576a5100312e4682d47ec56187662521d2a772ed",
                "md5": "450a388aa20ff9d022c1b124bcc4b09b",
                "sha256": "aaa9b4fab96c008648abe8aa6acdfefc56b3e37f9a75fc217ccec22eaaa32e83"
            },
            "downloads": -1,
            "filename": "rshf-0.1.12-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "450a388aa20ff9d022c1b124bcc4b09b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 2036252,
            "upload_time": "2025-08-25T19:47:41",
            "upload_time_iso_8601": "2025-08-25T19:47:41.290447Z",
            "url": "https://files.pythonhosted.org/packages/16/e8/6611019a415efb43929a576a5100312e4682d47ec56187662521d2a772ed/rshf-0.1.12-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "6f17c43264f7d1077cb8f8d758a8fb9327397b900a6719f6cd0106b132e2956d",
                "md5": "2a1d6f0c74e9772f89c5da2dcb2f405b",
                "sha256": "7ab7a398ff343e5413eef9976445b5b2a9bc658d4bf9d4f90fdf6c0722309939"
            },
            "downloads": -1,
            "filename": "rshf-0.1.12.tar.gz",
            "has_sig": false,
            "md5_digest": "2a1d6f0c74e9772f89c5da2dcb2f405b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 1991149,
            "upload_time": "2025-08-25T19:47:43",
            "upload_time_iso_8601": "2025-08-25T19:47:43.223314Z",
            "url": "https://files.pythonhosted.org/packages/6f/17/c43264f7d1077cb8f8d758a8fb9327397b900a6719f6cd0106b132e2956d/rshf-0.1.12.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-25 19:47:43",
    "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.81499s