Skip to main content

A set of python modules for machine learning and data mining

Project description

pyutils

A python/pytorch utility library

License: MIT

News

  • v0.0.2 available. Added new datasets and quantization!
  • v0.0.1 available. Feedbacks are highly welcomed!

Installation

pip install torchonn-pyutils

or install from cloned codes from github if you would like to modify the code

git clone https://github.com/JeremieMelo/pyutility.git
cd pyutility
pip3 install --editable .

Usage

import pyutils

Features

  • Support pytorch training utility and datasets.

TODOs

  • Support lr_scheduler
  • Support trainer

Dependencies

  • Python >= 3.6
  • PyTorch >= 1.8.0
  • Tensorflow >= 2.5.0
  • Others are listed in requirements.txt

Files

File Description
datasets/ Defines different datasets and builder
loss/ Defines different loss functions/criterions
optimizer/ Defines different optimizers
lr_scheduler/ Defines different learning rate schedulers
quant/ Defines different weight/activation quantizers
activation.py Activation functions
compute.py functions related to computing
config.py Hierarchical yaml configuration file parser
distribution_sampler.py Sample from customized distributions
general.py Common helper functions
initializer.py Initialization methods for PyTorch Parameters
loss.py Loss functions for PyTorch model training
quantize.py Quantization functions
torch_train.py Helper functions for torch training
typing.py Defines common types

Contact

Jiaqi Gu (jqgu@utexas.edu)

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

torchonn-pyutils-0.0.3.1.tar.gz (72.5 kB view details)

Uploaded Source

File details

Details for the file torchonn-pyutils-0.0.3.1.tar.gz.

File metadata

  • Download URL: torchonn-pyutils-0.0.3.1.tar.gz
  • Upload date:
  • Size: 72.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.14

File hashes

Hashes for torchonn-pyutils-0.0.3.1.tar.gz
Algorithm Hash digest
SHA256 da9954ad1afcf1e3f6949a3fb71346f3798b47b7992109051cb2755dda750ea1
MD5 10810efdf5c359472f5e6916a57ff8f5
BLAKE2b-256 1143686b0f5a53211ff0c879d460ae7df843f2b2de5090aab497a231130c3966

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