rshf


Namershf JSON
Version 0.0.5 PyPI version JSON
download
home_pagehttps://github.com/mvrl/rshf
SummaryRS pretrained models in huggingface style
upload_time2024-05-29 16:51:35
maintainerNone
docs_urlNone
authorSrikumar Sastry
requires_python>=3.11
licenseNone
keywords remote sensing huggingface
VCS
bugtrack_url
requirements torch timm numpy huggingface_hub einops transformers open_clip_torch
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # rshf
### 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")
print(model.forward_encoder(torch.randn(1, 3, 224, 224), mask_ratio=0.0)[0].shape)
```

### 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.11",
    "maintainer_email": null,
    "keywords": "Remote Sensing, Huggingface",
    "author": "Srikumar Sastry",
    "author_email": "s.sastry@wustl.edu",
    "download_url": "https://files.pythonhosted.org/packages/c5/7d/89ffc8933933f31f6a073333c9e3bcb94bf6706345daa63d57ccb816374f/rshf-0.0.5.tar.gz",
    "platform": null,
    "description": "# rshf\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\")\nprint(model.forward_encoder(torch.randn(1, 3, 224, 224), mask_ratio=0.0)[0].shape)\n```\n\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.0.5",
    "project_urls": {
        "Homepage": "https://github.com/mvrl/rshf"
    },
    "split_keywords": [
        "remote sensing",
        " huggingface"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f44d87cae918ca0760e4774f9368d1c2ae0e3f55b06f6f21dc6f24814f4637e7",
                "md5": "b672420e2e13dfaa3308eab7bd7f46b6",
                "sha256": "cb15ae3a7bf60261cb9065b0cffe115fd8cce2ddfd44e3a0774bbdc9f532fc58"
            },
            "downloads": -1,
            "filename": "rshf-0.0.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b672420e2e13dfaa3308eab7bd7f46b6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11",
            "size": 2025269,
            "upload_time": "2024-05-29T16:51:33",
            "upload_time_iso_8601": "2024-05-29T16:51:33.820305Z",
            "url": "https://files.pythonhosted.org/packages/f4/4d/87cae918ca0760e4774f9368d1c2ae0e3f55b06f6f21dc6f24814f4637e7/rshf-0.0.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c57d89ffc8933933f31f6a073333c9e3bcb94bf6706345daa63d57ccb816374f",
                "md5": "48eec6cd85d9f14177032aa732bcc056",
                "sha256": "8101cdd72eb974b05fec36b109b1ac8596957b9e5f2ccd0c4dd60cde97e50957"
            },
            "downloads": -1,
            "filename": "rshf-0.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "48eec6cd85d9f14177032aa732bcc056",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11",
            "size": 1981688,
            "upload_time": "2024-05-29T16:51:35",
            "upload_time_iso_8601": "2024-05-29T16:51:35.626174Z",
            "url": "https://files.pythonhosted.org/packages/c5/7d/89ffc8933933f31f6a073333c9e3bcb94bf6706345daa63d57ccb816374f/rshf-0.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-29 16:51:35",
    "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": [
                [
                    "==",
                    "1.26.4"
                ]
            ]
        },
        {
            "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"
                ]
            ]
        }
    ],
    "lcname": "rshf"
}
        
Elapsed time: 0.24376s