util torch
Project description
utrc
Developer Guide
Setup
# create conda environment
$ mamba env create -f env.yml
# update conda environment
$ mamba env update -n utrc --file env.yml
Install
pip install -e .
# install from pypi
pip install utrc
nbdev
# activate conda environment
$ conda activate utrc
# make sure the utrc package is installed in development mode
$ pip install -e .
# make changes under nbs/ directory
# ...
# compile to have changes apply to the utrc package
$ nbdev_prepare
Publishing
# publish to pypi
$ nbdev_pypi
# publish to conda
$ nbdev_conda --build_args '-c conda-forge'
$ nbdev_conda --mambabuild --build_args '-c conda-forge -c dsm-72'
Usage
Installation
Install latest from the GitHub repository:
$ pip install git+https://github.com/dsm-72/utrc.git
or from conda
$ conda install -c dsm-72 utrc
or from pypi
$ pip install utrc
Documentation
Documentation can be found hosted on GitHub repository pages. Additionally you can find package manager specific guidelines on conda and pypi respectively.
NumPy Documentation:
PyTorch Documentation:
TorchData
- How to Package PyTorch Models
torch.monitor.Event
torchvision
torchvision.Datasets.VisionDataset
torchvision.utils.flow_to_image
PyTorch Models to Consider:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
utrc-0.0.13.tar.gz
(44.4 kB
view details)
Built Distribution
utrc-0.0.13-py3-none-any.whl
(50.0 kB
view details)
File details
Details for the file utrc-0.0.13.tar.gz
.
File metadata
- Download URL: utrc-0.0.13.tar.gz
- Upload date:
- Size: 44.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b8bb18a2cf708b66baba34c75d10ebcd1a653974504b528d51df58d54cd66dd |
|
MD5 | 5573bad40c9e9ecb937dd368493abe63 |
|
BLAKE2b-256 | 946b0a14a809b20b9e57ecf2d1ba46fd06bcce310272a3e1575a1699b6de9e35 |
File details
Details for the file utrc-0.0.13-py3-none-any.whl
.
File metadata
- Download URL: utrc-0.0.13-py3-none-any.whl
- Upload date:
- Size: 50.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2da14ffa1f2bb3d7694827336ba1839c57c26a0a9e6a875e5bede2af6f3e51bd |
|
MD5 | 37b15dae02c82f1d8d80f60ea6dc975a |
|
BLAKE2b-256 | 7e8cc76908dfee64bac0eb56c0cb6b30e05f4cd094b8d74b3d8b44a9525c781c |