dim string
Project description
dstr
Developer Guide
Setup
# create conda environment
$ mamba env create -f env.yml
# update conda environment
$ mamba env update -n dstr --file env.yml
Install
pip install -e .
# install from pypi
pip install dstr
nbdev
# activate conda environment
$ conda activate dstr
# make sure the dstr package is installed in development mode
$ pip install -e .
# make changes under nbs/ directory
# ...
# compile to have changes apply to the dstr 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/dstr.git
or from conda
$ conda install -c dsm-72 dstr
or from pypi
$ pip install dstr
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
dstr-0.0.1.tar.gz
(16.5 kB
view details)
Built Distribution
dstr-0.0.1-py3-none-any.whl
(22.8 kB
view details)
File details
Details for the file dstr-0.0.1.tar.gz
.
File metadata
- Download URL: dstr-0.0.1.tar.gz
- Upload date:
- Size: 16.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 906d54c6ce3384da8e8900cbbc2544a627934587db2e5cd3febabe762bb3e3c6 |
|
MD5 | ff28390cd5ac4c4e0de65f92741013b5 |
|
BLAKE2b-256 | 1468bb6375f505d0eb1159b0153c40c60b58421fb00c828a851ff97f6bb5b3a0 |
File details
Details for the file dstr-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: dstr-0.0.1-py3-none-any.whl
- Upload date:
- Size: 22.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a4bc0fc27318262f7b705e38cbb3734e088bcc6411d708a48bd42e6c90cb510 |
|
MD5 | 9102e387a1ff4450316110cdaa9fb900 |
|
BLAKE2b-256 | 0ac80b4dd572c1a3a63207996de040c258927e453b2318a15aad712585975044 |