Skip to main content

Simplifying audio and deep learning with PyTorch.

Project description

Torch Utilities

Torch Utilities is a collection of tools and utilities for working with PyTorch in the audio domain.

Disclaimer

Torch Utilities is developed as a personal set of tools and is provided as-it-is, without any warranties or guarantees. The API and utilities may change in the future as the module continues to evolve. While effort is made to maintain compatibility with previous versions, users are advised to carefully consider the stability of the API before using Torch Utilities in production environments.

Installation

You can install Torch Utilities using pip.

pip install torch_utilities

Running The Tests

To run the tests you need to clone the repository locally and run use pytest.

git clone git@github.com:FedericoDiMarzo/torch_utilities.git
pip install -e torch_utilities[dev]
pytest torch_utilities/tests

If any tests fail, it may indicate that there is a bug in the code or that some aspect of the API has changed. In such cases, we encourage you to open an issue on the repository so that we can help resolve the problem.

Module Documentation

To read the API documentation of the module after cloning the repository, you can use pdoc to generate the documentation and serve it locally.

pdoc --docformat numpy torch_utilities/torch_utilities

The documentation will then be accessible at the address http://localhost:8080 .

How to explore the tools

The most relevant function and classes are available in the main namespace of the module. You can import them directly and use them in your code.

The source code is divided into

  • audio: Utilities working mostly on waveforms
  • augmentation: Data augmentation for audio signals
  • io: Input/output utilities
  • metrics: Various metrics for audio signals
  • modules: PyTorch modules for audio processing
  • utilities: General utilities.

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_utilities-1.2.3.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

torch_utilities-1.2.3-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file torch_utilities-1.2.3.tar.gz.

File metadata

  • Download URL: torch_utilities-1.2.3.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for torch_utilities-1.2.3.tar.gz
Algorithm Hash digest
SHA256 205b44fc49ea2c42858bdb5553a26626c55dc6c72f13e80a0651de12a852884c
MD5 626aecbe1aed8b5641c65cd7096ad3de
BLAKE2b-256 51dba6bf3cbd420655224218312ddf55b57b98f4597798b19fb90fc1d9e5ff27

See more details on using hashes here.

Provenance

File details

Details for the file torch_utilities-1.2.3-py3-none-any.whl.

File metadata

File hashes

Hashes for torch_utilities-1.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 139aaae024ec51edbcfc1dc503157255d0254ef6d4a638d5e21490a7ed55d63c
MD5 4af910096c723d556fda1e62742e730d
BLAKE2b-256 b436abb9758d15ddb405ffd2795406c5b7e990bcb668c02de941e0a5d32ac7fc

See more details on using hashes here.

Provenance

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