资源算法multi-resnet

multi-resnet

2020-02-21 | |  33 |   0 |   0

Multi-Residual Networks

By Masoud Abdi and Saeid Nahavandi

Implementation of Multi-Residual Networks (http://arxiv.org/abs/1609.05672).

CIFAR Test Error Rates

NetworkdepthkwParametersCIFAR-10 (%)CIFAR-100 (%)
Pre-Resnet10011110.2M4.62(4.69+/-0.20)22.71(22.68+/-0.22)
Multi-Resnet2005110.2M4.35(4.36+/-0.04)20.42(20.44+/-0.15)
Multi-Resnet3985120.4M3.9220.59
Multi-Resnet2621072M3.9619.45
Multi-Resnet26410154M3.7319.60

##Usage:

th main.lua -netType multi-resnet -depth 200 -k 5 -batchSize 64 -nGPU 2 -nThreads 4 -dataset cifar10 -nEpochs 200

##Notes:

In order to see the effect of model parallelism use modelParallel (Tested on K80 GPU):

for model parallelism on 2 GPUs use:

th main.lua -netType mpreresnet -dataset cifar10 -batchSize 128 -depth 110 -k 4 -modelParallel true

for data parallelism on 2 GPUs use:

th main.lua -netType mpreresnet -dataset cifar10 -batchSize 128 -depth 434 -k 1 -nGPU 2

It achieves up to 15% speed up and there is room for improvement.

The code is based on https://github.com/facebook/fb.resnet.torch and https://github.com/KaimingHe/resnet-1k-layers

##Contact

Please contact me on mabdi{at}deakin.edu.au

I appreciate any discussion, suggestion or contribution.





上一篇:imagefusion_resnet50

下一篇:fast-neural-style-tensorflow

用户评价
全部评价

热门资源

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • inferno-boilerplate

    This is a very basic boilerplate example for pe...