Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
/ DeepNet Public

A python library for computer vision applications

License

Notifications You must be signed in to change notification settings

rvk007/DeepNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tensornet

Open in Colab

Deepnet is an open-source library that can be used for solving problems of Computer vision in Deep Learning.

NOTE: This documentation applies to the MASTER version of DeepNet only.

Install Dependencies

Install the required packages
pip install -r requirements.txt

Features

DeepNet currently supports the following features:

Models

Models Description
ResNet ResNet-18
ResModNet A modified version of ResNet-18
CustomNet A modified version of ResNet-18
MaskNet3 A model to predict the Segmentation mask of the given image.
DepthMaskNet8 A model to predict the Monocular Depth Maps of the given image.

Training and Validation

Functionality Description
Train Training and Validation of the model
Model Handles all the function for training a model
Dataset Contains classes to handle data for training the model

Metrics

Losses

Loss Description
Dice ResNet-18
SSIM A modified version of ResNet-18
MSE Mean squared error (squared L2 norm) between each element in the input and target
BCE Binary Cross Entropy between the target and the output
BCEWithLogitsLoss Combination of Sigmoid layer and the BCE in one single class
RMSE Root mean squared error (squared L2 norm) between each element in the input and target

Weighted Combination of loss functions

Scheduler

  • StepLR
  • ReduceLROnPlateau
  • OneCycleLR

Data Augmentation

  • Resize
  • Padding
  • Random Crop
  • Horizontal Flip
  • Vertical Flip
  • Gaussian Blur
  • Random Rotation
  • CutOut

Utilities

Utility Description
GRADCAM Calculates GradCAM(Gradient-weighted Class Activation Map) saliency map
GradCAMpp Calculate GradCAM++ salinecy map using heatmap and image
LRFinder Range test to calculate optimal Learning Rate
Checkpoint Loading and saving checkpoints
ProgressBar Display Progress bar
Tensorboard Creates Tensorboard visualization
Summary Display model summary
Plot Plot the graph of a metric, prediction image and class accuracy

Dependencies

DeepNet has the following third-party dependencies

  • numpy
  • torch
  • torchvision
  • torchsummary
  • tqdm
  • matplotlib
  • albumentations
  • opencv-python

For a demo on how to use these modules, refer to the notebooks present in the examples directory.

Contact/Getting Help

If you need any help or want to report a bug, raise an issue in the repo.