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.Eventtorchvisiontorchvision.Datasets.VisionDatasettorchvision.utils.flow_to_image
PyTorch Models to Consider:
Metadata
Release files for dtrc 0.0.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dtrc-0.0.15.tar.gz | 25.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dtrc-0.0.15-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 54.0 kB
Release files / dtrc-0.0.15.tar.gz
| Download URL | dtrc-0.0.15.tar.gz |
|---|---|
| Size | 25.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d9cf9d85f8e924ed153d695325c7814785c10741fddabfd7798ed5d1f9286e5
|
|
BLAKE2b-256 checksum How to use checksums |
7fe45f712737ed21447904110566c0a26e746324bca5ed84b75f2673924ac919
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Release files / dtrc-0.0.15-py3-none-any.whl
| Download URL | dtrc-0.0.15-py3-none-any.whl |
|---|---|
| Size | 28.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
20f6855bb6eb127e7a7794caac6cd91b386c21081da1e646adba15a7db80d387
|
|
BLAKE2b-256 checksum How to use checksums |
622bfcbc5cb3ba106961bcdb495db7c981fb5655358bd7a0091421e7a7df605a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|