PyTorch Enumerations
Project description
etrc
Developer Guide
Setup
# create conda environment
$ mamba env create -f env.yml
# update conda environment
$ mamba env update -n etrc --file env.yml
Install
pip install -e .
# install from pypi
pip install etrc
nbdev
# activate conda environment
$ conda activate etrc
# make sure the etrc package is installed in development mode
$ pip install -e .
# make changes under nbs/ directory
# ...
# compile to have changes apply to the etrc 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/etrc.git
or from conda
$ conda install -c dsm-72 etrc
or from pypi
$ pip install etrc
Documentation
Documentation can be found hosted on GitHub repository pages. Additionally you can find package manager specific guidelines on conda and pypi respectively.
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
etrc-0.0.21.tar.gz
(27.6 kB
view details)
Built Distribution
etrc-0.0.21-py3-none-any.whl
(28.0 kB
view details)
File details
Details for the file etrc-0.0.21.tar.gz
.
File metadata
- Download URL: etrc-0.0.21.tar.gz
- Upload date:
- Size: 27.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9b5780ee6cfc6d3c7847c3f71c69fb8649a9b3edbb8451a4fd91e14a77f57d8 |
|
MD5 | 082451afc3c39e8f20e22f043c649701 |
|
BLAKE2b-256 | 33a3416e5b2314a86424532262a1d6c09ff8801bdad310ffb3bebcd60331944b |
File details
Details for the file etrc-0.0.21-py3-none-any.whl
.
File metadata
- Download URL: etrc-0.0.21-py3-none-any.whl
- Upload date:
- Size: 28.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 | fa098188234b8b8ed7708e511ec748761c3fe7d23677261f76e95ae0e9fa1a86 |
|
MD5 | ea66f66ec5b21429149c5bd34ad52375 |
|
BLAKE2b-256 | 637aaef44da64a63a282303380ac36e1ed7ce88583184c7609d0f575ac0376fb |