Metadata-Version: 2.1
Name: torchhk
Version: 0.80
Summary: Custom utils for PyTorch
Home-page: https://github.com/HarryK24/pytorch-custom-utils
Author: Harry Kim <24k.harry@gmail.com>
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Scientific/Engineering :: Visualization
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.6
Classifier: Operating System :: OS Independent
Requires-Python: >=3
Description-Content-Type: text/markdown

# pytorch-custom-utils

[![License](https://img.shields.io/github/license/Harry24k/pytorch-custom-utils)](https://img.shields.io/github/license/Harry24k/pytorch-custom-utils)
[![Pypi](https://img.shields.io/pypi/v/torchhk.svg)](https://img.shields.io/pypi/v/torchhk)

This is a lightweight repository to help PyTorch users.

## Usage

### :clipboard: Dependencies

- torch 1.4.0
- torchvision 0.5.0
- python 3.6
- matplotlib 2.2.2
- numpy 1.14.3
- seaborn 0.9.0
- sklearn
- plotly

### :hammer: Installation

- `pip install torchhk` or
- `git clone https://github.com/Harry24k/pytorch-custom-utils`

```python
from torchhk import *
```

### :rocket: Demos

- **RecordManager** ([code](https://github.com/Harry24k/pytorch-custom-utils/blob/master/demo/RecordManager.ipynb), [markdown](https://github.com/Harry24k/pytorch-custom-utils/blob/master/docs/RecordManager.md)): 
RecordManager will help you to keep tracking training records.

- **Datasets** ([code](https://github.com/Harry24k/pytorch-custom-utils/blob/master/demo/Datasets.ipynb), [markdown](https://github.com/Harry24k/pytorch-custom-utils/blob/master/docs/Datasets.md)): 
Dataset will help you to use torch datasets including split and label-filtering.
    > Supported datasets: CIFAR10, CIFAR100, STL10, MNIST, FashionMNIST, SVHN, MNISTM, ImageNet, USPS, TinyImageNet.

- **Vis** ([code](https://github.com/Harry24k/pytorch-custom-utils/blob/master/demo/Vis.ipynb), [markdown](https://github.com/Harry24k/pytorch-custom-utils/blob/master/docs/Vis.md)): 
Vis will help you to visualize torch tensors.

- **Transform** ([code](https://github.com/Harry24k/pytorch-custom-utils/blob/master/demo/Transform.ipynb)): 
Transform will help you to change specific layers.

- **Trainer** ([code](https://github.com/Harry24k/pytorch-custom-utils/blob/master/demo/Trainer.ipynb)): 
Trainer will help you to train a pytorch model.


## Contribution

Contribution is always welcome! Use [pull requests](https://github.com/Harry24k/adversarial-attacks-pytorch/pulls) :blush:

