Custom utils for PyTorch
Project description
pytorch-custom-utils
This is a custom useful utils for Pytorch.
Usage
Dependencies
- torch 1.4.0
- torchvision 0.5.0
- python 3.6
- matplotlib 2.2.2
- numpy 1.14.3
- seaborn 0.9.0
- copy
- warnings
Installation
pip install torchhkorgit clone https://github.com/Harry24k/pytorch-custom-utils
from torchhk import *
Demos
-
rm(RecordManager) (code): RecordManager will help you to watch records pretty during iterations. It also provides some useful functions such as summary, plot, etc.
-
datasets(Datasets) (code): Datasets will help you to bring torchvision data with only simple one line. It also has split function for people who need a validation set.
-
vis(Vis) (code): Vis provides two functions as below :
- imshow : It will help you to see torch tensor images in one plot.
- weightshow : It will help you to see all weights' distribution of a torch model.
-
transform(Transform) (code): Transform will help you to construct a new model with certain layers changed.
Update Records
Version 0.1
- RecordManager
- Datasets
- Vis :
- imshow
- weightshow
- Transform :
- transform_layer
- transform_model
Version 0.2
- RecordManager
- Ploting two axis added.
- Datasets
- CIFAR100 added.
- Vis :
- imshow -> im_show
- weightshow -> weight_show
- Transform :
- transform_layer
- transform_model
Version 0.3
- RecordManager
- Transform :
- transform_model : Error Solved.
Version 0.4
- Datasets :
- Shuffle set to False in validation set.
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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file torchhk-0.51-py3-none-any.whl.
File metadata
- Download URL: torchhk-0.51-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac59b214c78dbc7a9e7acc9b11958ef1cb63eff99a15a36e72f4fe14bdd387af
|
|
| MD5 |
a2e0fd19589b7824ec902ad5ff2913fe
|
|
| BLAKE2b-256 |
97d4680b5ebcfc9789ec6bf3534fe51ab0fc93381c445dcbfa6a774724d312b1
|