data torch
Project description
dtrc
Developer Guide
Setup
# create conda environment
$ mamba env create -f env.yml
# update conda environment
$ mamba env update -n dtrc --file env.yml
Install
pip install -e .
# install from pypi
pip install dtrc
nbdev
# activate conda environment
$ conda activate dtrc
# make sure the dtrc package is installed in development mode
$ pip install -e .
# make changes under nbs/ directory
# ...
# compile to have changes apply to the dtrc 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/dtrc.git
or from conda
$ conda install -c dsm-72 dtrc
or from pypi
$ pip install dtrc
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
dtrc-0.0.15.tar.gz
(25.3 kB
view details)
Built Distribution
dtrc-0.0.15-py3-none-any.whl
(28.7 kB
view details)
File details
Details for the file dtrc-0.0.15.tar.gz
.
File metadata
- Download URL: dtrc-0.0.15.tar.gz
- Upload date:
- Size: 25.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d9cf9d85f8e924ed153d695325c7814785c10741fddabfd7798ed5d1f9286e5 |
|
MD5 | 49961daf7cad31eb0703053b4b794659 |
|
BLAKE2b-256 | 7fe45f712737ed21447904110566c0a26e746324bca5ed84b75f2673924ac919 |
File details
Details for the file dtrc-0.0.15-py3-none-any.whl
.
File metadata
- Download URL: dtrc-0.0.15-py3-none-any.whl
- Upload date:
- Size: 28.7 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 | 20f6855bb6eb127e7a7794caac6cd91b386c21081da1e646adba15a7db80d387 |
|
MD5 | 0296771b0a5830e1932faac637cb8bf0 |
|
BLAKE2b-256 | 622bfcbc5cb3ba106961bcdb495db7c981fb5655358bd7a0091421e7a7df605a |