All Projects → raghakot → Keras Resnet

raghakot / Keras Resnet

Licence: other
Residual networks implementation using Keras-1.0 functional API

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Keras Resnet

Autodl
Automated Deep Learning without ANY human intervention. 1'st Solution for AutoDL [email protected]
Stars: ✭ 854 (-33.59%)
Mutual labels:  resnet
Cyclegan Qp
Official PyTorch implementation of "Artist Style Transfer Via Quadratic Potential"
Stars: ✭ 59 (-95.41%)
Mutual labels:  resnet
Yolo resnet
Implementing YOLO using ResNet as the feature extraction network
Stars: ✭ 82 (-93.62%)
Mutual labels:  resnet
Tensornets
High level network definitions with pre-trained weights in TensorFlow
Stars: ✭ 982 (-23.64%)
Mutual labels:  resnet
Jacinto Ai Devkit
Training & Quantization of embedded friendly Deep Learning / Machine Learning / Computer Vision models
Stars: ✭ 49 (-96.19%)
Mutual labels:  resnet
Deep Ranking
Learning Fine-grained Image Similarity with Deep Ranking is a novel application of neural networks, where the authors use a new multi scale architecture combined with a triplet loss to create a neural network that is able to perform image search. This repository is a simplified implementation of the same
Stars: ✭ 64 (-95.02%)
Mutual labels:  resnet
Classification models
Classification models trained on ImageNet. Keras.
Stars: ✭ 938 (-27.06%)
Mutual labels:  resnet
M Pact
A one stop shop for all of your activity recognition needs.
Stars: ✭ 85 (-93.39%)
Mutual labels:  resnet
Pytorch Image Models
PyTorch image models, scripts, pretrained weights -- ResNet, ResNeXT, EfficientNet, EfficientNetV2, NFNet, Vision Transformer, MixNet, MobileNet-V3/V2, RegNet, DPN, CSPNet, and more
Stars: ✭ 15,232 (+1084.45%)
Mutual labels:  resnet
Boring Detector
State-of-the-art detector of Boring hats in images and videos.
Stars: ✭ 79 (-93.86%)
Mutual labels:  resnet
Imagenet resnet tensorflow2.0
Train ResNet on ImageNet in Tensorflow 2.0; ResNet 在ImageNet上完整训练代码
Stars: ✭ 42 (-96.73%)
Mutual labels:  resnet
Pretrained Models.pytorch
Pretrained ConvNets for pytorch: NASNet, ResNeXt, ResNet, InceptionV4, InceptionResnetV2, Xception, DPN, etc.
Stars: ✭ 8,318 (+546.81%)
Mutual labels:  resnet
Gluon2pytorch
Gluon to PyTorch deep neural network model converter
Stars: ✭ 70 (-94.56%)
Mutual labels:  resnet
Resnet
Tensorflow ResNet implementation on cifar10
Stars: ✭ 10 (-99.22%)
Mutual labels:  resnet
Bsconv
Reference implementation for Blueprint Separable Convolutions (CVPR 2020)
Stars: ✭ 84 (-93.47%)
Mutual labels:  resnet
Vgg16 Pytorch
VGG16 Net implementation from PyTorch Examples scripts for ImageNet dataset
Stars: ✭ 26 (-97.98%)
Mutual labels:  resnet
Mobile Image Matting
a lightweight image matting model
Stars: ✭ 61 (-95.26%)
Mutual labels:  resnet
Pytorch Classification
Classification with PyTorch.
Stars: ✭ 1,268 (-1.4%)
Mutual labels:  resnet
Caffe Model
Caffe models (including classification, detection and segmentation) and deploy files for famouse networks
Stars: ✭ 1,258 (-2.18%)
Mutual labels:  resnet
Tools To Design Or Visualize Architecture Of Neural Network
Tools to Design or Visualize Architecture of Neural Network
Stars: ✭ 1,143 (-11.12%)
Mutual labels:  resnet

keras-resnet

Build Status license

Residual networks implementation using Keras-1.0 functional API, that works with both theano/tensorflow backend and 'th'/'tf' image dim ordering.

The original articles

Residual blocks

The residual blocks are based on the new improved scheme proposed in Identity Mappings in Deep Residual Networks as shown in figure (b)

Residual Block Scheme

Both bottleneck and basic residual blocks are supported. To switch them, simply provide the block function here

Code Walkthrough

The architecture is based on 50 layer sample (snippet from paper)

Architecture Reference

There are two key aspects to note here

  1. conv2_1 has stride of (1, 1) while remaining conv layers has stride (2, 2) at the beginning of the block. This fact is expressed in the following lines.
  2. At the end of the first skip connection of a block, there is a disconnect in num_filters, width and height at the merge layer. This is addressed in _shortcut by using conv 1X1 with an appropriate stride. For remaining cases, input is directly merged with residual block as identity.

ResNetBuilder factory

  • Use ResNetBuilder build methods to build standard ResNet architectures with your own input shape. It will auto calculate paddings and final pooling layer filters for you.
  • Use the generic build method to setup your own architecture.

Cifar10 Example

Includes cifar10 training example. Achieves ~86% accuracy using Resnet18 model.

cifar10_convergence

Note that ResNet18 as implemented doesn't really seem appropriate for CIFAR-10 as the last two residual stages end up as all 1x1 convolutions from downsampling (stride). This is worse for deeper versions. A smaller, modified ResNet-like architecture achieves ~92% accuracy (see gist).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].