slices
Project description
slcs
Developer Guide
Setup
# create conda environment
$ mamba env create -f env.yml
# update conda environment
$ mamba env update -n slcs --file env.yml
Install
pip install -e .
# install from pypi
pip install slcs
nbdev
# activate conda environment
$ conda activate slcs
# make sure the slcs package is installed in development mode
$ pip install -e .
# make changes under nbs/ directory
# ...
# compile to have changes apply to the slcs 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/slcs.git
or from conda
$ conda install -c dsm-72 slcs
or from pypi
$ pip install slcs
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
slcs-0.0.2.tar.gz
(19.9 kB
view details)
Built Distribution
slcs-0.0.2-py3-none-any.whl
(24.1 kB
view details)
File details
Details for the file slcs-0.0.2.tar.gz
.
File metadata
- Download URL: slcs-0.0.2.tar.gz
- Upload date:
- Size: 19.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de32d0e890dd6660d9134102af0cbd3e888c9b32673d608ef0dd360ca69db005 |
|
MD5 | 6ce77ac755b285f9dcf05d5503637b9f |
|
BLAKE2b-256 | 69572944155aa214172510f2c438cdffd7578a32a7157a75679dfd1e4cb839be |
File details
Details for the file slcs-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: slcs-0.0.2-py3-none-any.whl
- Upload date:
- Size: 24.1 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 | edf5e62d0a5ee9c28e82d45eae6156942447a9a45d01bb1beabc7235e65382bf |
|
MD5 | 6ee7f971a2b3e3a86e8854082bbf7fa8 |
|
BLAKE2b-256 | 9e0bc7ffa4a840cfdc93083aa4996ca65e4f4334d110245861a11c1cd595bfdd |