vsdpir


Namevsdpir JSON
Version 3.1.1 PyPI version JSON
download
home_page
SummaryDPIR function for VapourSynth
upload_time2023-05-21 06:59:45
maintainer
docs_urlNone
author
requires_python>=3.10
licenseMIT License Copyright (c) 2021-2023 HolyWu Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords dpir vapoursynth
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # DPIR
Plug-and-Play Image Restoration with Deep Denoiser Prior, based on https://github.com/cszn/DPIR.


## Dependencies
- [NumPy](https://numpy.org/install)
- [PyTorch](https://pytorch.org/get-started) >=2.0.1
- [VapourSynth](http://www.vapoursynth.com/) >=R60

`trt` requires additional runtime libraries:
- [CUDA Toolkit](https://developer.nvidia.com/cuda-toolkit) 11.8
- [cuDNN](https://developer.nvidia.com/cudnn) 8.9
- [TensorRT](https://developer.nvidia.com/tensorrt) >=8.6.1.6

For ease of installation on Windows, you can download the 7z file on [Releases](https://github.com/HolyWu/vs-dpir/releases) which contains required runtime libraries and Python wheel file. Either add the unzipped directory to your system `PATH` or copy the DLL files to a directory which is already in your system `PATH`. Finally pip install the Python wheel file.


## Installation
```
pip install -U vsdpir
python -m vsdpir
```


## Usage
```python
from vsdpir import dpir

ret = dpir(clip)
```

See `__init__.py` for the description of the parameters.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "vsdpir",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "",
    "keywords": "DPIR,VapourSynth",
    "author": "",
    "author_email": "HolyWu <holywu@gmail.com>",
    "download_url": "",
    "platform": null,
    "description": "# DPIR\nPlug-and-Play Image Restoration with Deep Denoiser Prior, based on https://github.com/cszn/DPIR.\n\n\n## Dependencies\n- [NumPy](https://numpy.org/install)\n- [PyTorch](https://pytorch.org/get-started) >=2.0.1\n- [VapourSynth](http://www.vapoursynth.com/) >=R60\n\n`trt` requires additional runtime libraries:\n- [CUDA Toolkit](https://developer.nvidia.com/cuda-toolkit) 11.8\n- [cuDNN](https://developer.nvidia.com/cudnn) 8.9\n- [TensorRT](https://developer.nvidia.com/tensorrt) >=8.6.1.6\n\nFor ease of installation on Windows, you can download the 7z file on [Releases](https://github.com/HolyWu/vs-dpir/releases) which contains required runtime libraries and Python wheel file. Either add the unzipped directory to your system `PATH` or copy the DLL files to a directory which is already in your system `PATH`. Finally pip install the Python wheel file.\n\n\n## Installation\n```\npip install -U vsdpir\npython -m vsdpir\n```\n\n\n## Usage\n```python\nfrom vsdpir import dpir\n\nret = dpir(clip)\n```\n\nSee `__init__.py` for the description of the parameters.\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2021-2023 HolyWu  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "DPIR function for VapourSynth",
    "version": "3.1.1",
    "project_urls": {
        "Bug Tracker": "https://github.com/HolyWu/vs-dpir/issues",
        "Homepage": "https://github.com/HolyWu/vs-dpir"
    },
    "split_keywords": [
        "dpir",
        "vapoursynth"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "506b51086093dd0ca63704f09fda0c02ae2a41c7e3907aa1d652f1b9f452dbb7",
                "md5": "e9d0b61083f643bca5469b6d6a31a672",
                "sha256": "c47c856345118b7145e0455438cc623f583640ab244b08ea2cfc3c5ce6b198e6"
            },
            "downloads": -1,
            "filename": "vsdpir-3.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e9d0b61083f643bca5469b6d6a31a672",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 13155,
            "upload_time": "2023-05-21T06:59:45",
            "upload_time_iso_8601": "2023-05-21T06:59:45.584158Z",
            "url": "https://files.pythonhosted.org/packages/50/6b/51086093dd0ca63704f09fda0c02ae2a41c7e3907aa1d652f1b9f452dbb7/vsdpir-3.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-21 06:59:45",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "HolyWu",
    "github_project": "vs-dpir",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "vsdpir"
}
        
Elapsed time: 0.06813s