torch-adapter


Nametorch-adapter JSON
Version 0.1.0 PyPI version JSON
download
home_pageNone
SummaryThis library offers an implementation of PyTorch’s preprocessing and inference steps using the OpenVINO API, effectively serving as an adapter for PyTorch.
upload_time2024-08-27 10:52:35
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseCopyright (c) 2024 Luca Tam 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 python pytorch openvino
VCS
bugtrack_url
requirements torch pytest numpy torchvision openvino
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # torch_adapter

**Requirments:**
- python >= 3.9
- venv

> [!IMPORTANT]
> If you encounter any issues or believe some dependencies are missing, please don't hesitate to contact me. Also, ensure to double-check each command to confirm that everything is functioning as expected.
```sh
git clone git@github.com:LucaTamSapienza/torch_adapter.git
cd torch_adapter
git checkout pre-release
python3.9 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
```

You may need to export your PYTHONPATH to point to the torch_adapter directory:


```
export PYTHONPATH=$PYTHONPATH:path_to_torch_adapter
```

> [!NOTE]
> Please replace path_to_torch_adapter with the actual path to the torch_adapter directory on your system.

Now you can check if everything works by running `pytest tests/`

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "torch-adapter",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "Python, PyTorch, openvino",
    "author": null,
    "author_email": "LucaTamSapienza <tutordimatematica.ing@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/43/07/719f77c1083c896f0a986bf980414623134237475b67f7b81ce0727ddc02/torch_adapter-0.1.0.tar.gz",
    "platform": null,
    "description": "# torch_adapter\n\n**Requirments:**\n- python >= 3.9\n- venv\n\n> [!IMPORTANT]\n> If you encounter any issues or believe some dependencies are missing, please don't hesitate to contact me. Also, ensure to double-check each command to confirm that everything is functioning as expected.\n```sh\ngit clone git@github.com:LucaTamSapienza/torch_adapter.git\ncd torch_adapter\ngit checkout pre-release\npython3.9 -m venv venv\nsource venv/bin/activate\npip install -r requirements.txt\n```\n\nYou may need to export your PYTHONPATH to point to the torch_adapter directory:\n\n\n```\nexport PYTHONPATH=$PYTHONPATH:path_to_torch_adapter\n```\n\n> [!NOTE]\n> Please replace path_to_torch_adapter with the actual path to the torch_adapter directory on your system.\n\nNow you can check if everything works by running `pytest tests/`\n",
    "bugtrack_url": null,
    "license": "Copyright (c) 2024 Luca Tam  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": "This library offers an implementation of PyTorch\u2019s preprocessing and inference steps using the OpenVINO API, effectively serving as an adapter for PyTorch.",
    "version": "0.1.0",
    "project_urls": {
        "Issues": "https://github.com/LucaTamSapienza/torch_adapter/issues",
        "Repository": "https://github.com/LucaTamSapienza/torch_adapter"
    },
    "split_keywords": [
        "python",
        " pytorch",
        " openvino"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "43cfa2ecfdcce3ec12408e25de4c51fb2b202cd6139aa3936f62f78381234469",
                "md5": "51c74a6ce7c2ac09208620cf3d0023c8",
                "sha256": "9e7b55370dce7a11f8c65b6a1729164a686ac6d3857993244df9ec2eabcad658"
            },
            "downloads": -1,
            "filename": "torch_adapter-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "51c74a6ce7c2ac09208620cf3d0023c8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 10351,
            "upload_time": "2024-08-27T10:52:32",
            "upload_time_iso_8601": "2024-08-27T10:52:32.464096Z",
            "url": "https://files.pythonhosted.org/packages/43/cf/a2ecfdcce3ec12408e25de4c51fb2b202cd6139aa3936f62f78381234469/torch_adapter-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4307719f77c1083c896f0a986bf980414623134237475b67f7b81ce0727ddc02",
                "md5": "4b10225ccdf0eb6c9978973d0264c245",
                "sha256": "8c1fef6dd6c903cbbef993b580398fd908437b20fcc64230efe8303445c6c92e"
            },
            "downloads": -1,
            "filename": "torch_adapter-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "4b10225ccdf0eb6c9978973d0264c245",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 13050,
            "upload_time": "2024-08-27T10:52:35",
            "upload_time_iso_8601": "2024-08-27T10:52:35.564110Z",
            "url": "https://files.pythonhosted.org/packages/43/07/719f77c1083c896f0a986bf980414623134237475b67f7b81ce0727ddc02/torch_adapter-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-27 10:52:35",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "LucaTamSapienza",
    "github_project": "torch_adapter",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "torch",
            "specs": [
                [
                    "==",
                    "2.3.0"
                ]
            ]
        },
        {
            "name": "pytest",
            "specs": []
        },
        {
            "name": "numpy",
            "specs": []
        },
        {
            "name": "torchvision",
            "specs": [
                [
                    "==",
                    "0.18.0"
                ]
            ]
        },
        {
            "name": "openvino",
            "specs": [
                [
                    ">=",
                    "2024.3.0"
                ]
            ]
        }
    ],
    "lcname": "torch-adapter"
}
        
Elapsed time: 1.96005s