Skip to main content

This library offers an implementation of PyTorch’s preprocessing and inference steps using the OpenVINO API, effectively serving as an adapter for PyTorch.

Project description

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.

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/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

torch_adapter-0.1.0.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

torch_adapter-0.1.0-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file torch_adapter-0.1.0.tar.gz.

File metadata

  • Download URL: torch_adapter-0.1.0.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.18

File hashes

Hashes for torch_adapter-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8c1fef6dd6c903cbbef993b580398fd908437b20fcc64230efe8303445c6c92e
MD5 4b10225ccdf0eb6c9978973d0264c245
BLAKE2b-256 4307719f77c1083c896f0a986bf980414623134237475b67f7b81ce0727ddc02

See more details on using hashes here.

File details

Details for the file torch_adapter-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for torch_adapter-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9e7b55370dce7a11f8c65b6a1729164a686ac6d3857993244df9ec2eabcad658
MD5 51c74a6ce7c2ac09208620cf3d0023c8
BLAKE2b-256 43cfa2ecfdcce3ec12408e25de4c51fb2b202cd6139aa3936f62f78381234469

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page