util torch
Project description
pcts
Developer Guide
Setup
# create conda environment
$ mamba env create -f env.yml
# update conda environment
$ mamba env update -n pcts --file env.yml
Install
pip install -e .
# install from pypi
pip install pcts
nbdev
# activate conda environment
$ conda activate pcts
# make sure the pcts package is installed in development mode
$ pip install -e .
# make changes under nbs/ directory
# ...
# compile to have changes apply to the pcts 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/pcts.git
or from conda
$ conda install -c dsm-72 pcts
or from pypi
$ pip install pcts
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
pcts-0.0.3.tar.gz
(11.0 kB
view details)
Built Distribution
pcts-0.0.3-py3-none-any.whl
(10.0 kB
view details)
File details
Details for the file pcts-0.0.3.tar.gz
.
File metadata
- Download URL: pcts-0.0.3.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ce3ff4c6a8991807df31a10281bcf8ac66a85caa6c32f075b5c7d9afe970f43 |
|
MD5 | c3ff5d5fd0c41666727d22545adc6b9a |
|
BLAKE2b-256 | dc54099b0e0e66d1a3b8d1597c8ff81103bc92fb32676119f1da5dec2e1af34c |
File details
Details for the file pcts-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: pcts-0.0.3-py3-none-any.whl
- Upload date:
- Size: 10.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 | 21dcd7e144fc97e68b8c9d6c01664f942595cd163ae44d5ab0e2691cae74003c |
|
MD5 | ca61003edc92cbfeed4dfccd413627c5 |
|
BLAKE2b-256 | 88944a94ebe171c3b8fe9f58656355dbc295bd18617a3ed7e88f250e817c6a37 |