A high-level deep learning library build on top of PyTorch for classification problems...
Project description
torch_soft is a high level implementatio of pytorch for some of claasification implementation with ease...
features
TensorNet currently supports the following features
- Model architectures
- ResNet18
- A custom model called naiveresnet
- Model utilities
- Loss functions
- Cross entropy loss
- nll_loss
- Optimizers
- Stochastic Gradient Descent
- Regularizers
- L1 regularization
- L2 regularization
- LR Schedulers
- Step LR
- Reduce LR on Plateau
- One Cycle Policy
- LR Range Test
- Loss functions
- Model training and validation
- Datasets (data is is returned via data loaders)
- MNIST
- CIFAR10
- TinyImageNet
- Data Augmentation
- Resize
- Padding
- Random Crop
- Horizontal Flip
- Vertical Flip
- Gaussian Blur
- Random Rotation
- CutOut
- GradCAM and GradCAM++ (Gradient-weighted Class Activation Map)
- Result Analysis Tools
- Plotting changes in validation accuracy and loss during model training
- Displaying correct and incorrect predictions of a trained model
- Plotting images in a batch for visualization
- Plotting gradcam outputs
How to Use
For examples on how to use torch_soft, refer to the examples directory.
Dependencies
torch_soft has the following third-party dependencies
- torch
- torchvision
- torchsummary
- tqdm
- matplotlib
- albumentations
- opencv-python
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
torch_soft-0.1.1.tar.gz
(24.3 kB
view details)
File details
Details for the file torch_soft-0.1.1.tar.gz.
File metadata
- Download URL: torch_soft-0.1.1.tar.gz
- Upload date:
- Size: 24.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67f8783c34abd19792eedd49ea942cde2ca2e495cc4ed94237f214aca30d712b
|
|
| MD5 |
93405743040cdf8a6938615429e3421d
|
|
| BLAKE2b-256 |
fa158ddabd0a3acfe5b8e781ba22165850e2cd329c486341cd337724abbc540c
|