Git Product home page Git Product logo

cru-net's Introduction

Collective Residual Networks

This repository contains the code and trained models of "Sharing Residual Units Through Collective Tensor Factorization in Deep Neural Networks".

Implementation

Augmentation

Method Settings
Random Mirror True
Random Crop 8% - 100%
Aspect Ratio 3/4 - 4/3
Random HSL [20,40,50]

Note: We did not use PCA Lighting and any other advanced augmentation methods.

Normalization

The augmented input images are substrated by mean RGB = [ 124, 117, 104 ], and then multiplied by 0.0167.

Results

ImageNet-1k

Single crop validation error (center 224x224 crop from resized image with shorter side=256):

Model Setting Model Size Top-1
CRU-Net-56 @x14 32x4d 98MB 21.9%
CRU-Net-56 @x14 136x1d 98MB 21.7%
CRU-Net-116 @x28x14 32x4d 168MB 20.6%
CRU-Net-116, wider @x28x14 64x4d 318MB 20.3%

We also trained a tiny CRU-Net-56 with less than half the size of ResNet-50.

Single crop validation error (center 224x224 crop from resized image with shorter side=256):

Model Setting Model Size Top-1
CRU-Net-56,tiny @x14 32x4d 48MB 22.9%

Places365-Standard

10-crop validation accuracy (averaging softmax scores of 10 224x224 crops from resized image with shorter side=256):

Model Setting Model Size Top-1
CRU-Net-116 @x28x14 32x4d 163MB 56.6%

Trained Models

Model Setting Dataset Link
CRU-Net-56,tiny @x14 32x4d ImageNet-1k GoogleDrive
CRU-Net-56 @x14 32x4d ImageNet-1k GoogleDrive
CRU-Net-56 @x14 136x1d ImageNet-1k GoogleDrive
CRU-Net-116 @x28x14 32x4d ImageNet-1k GoogleDrive
CRU-Net-116 @x28x14 32x4d Places365-Standard GoogleDrive

cru-net's People

Contributors

cypw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cru-net's Issues

about the two conv layers with shared weights

Hello, I have a question about the structure. In your paper, there is no other layers bwtween the two conv layers with shared weights , but as we know two conv layers with no act layer in between equal to one conv layer, which means you can just use one conv layer of shared weights.

MXNetError: Failed loading Op conv4_x__1_c3x3-b(1)__conv of type ChannelwiseConvolution:

Thanks for your sharing!
When I run mx.model.load_checkpoint('CRU-Net-116-ATx28x14-32x4d',0),There are some error:

~/anaconda3/envs/mxnet3/lib/python3.6/site-packages/mxnet/symbol/symbol.py in load(fname)
2419 raise TypeError('fname need to be string')
2420 handle = SymbolHandle()
-> 2421 check_call(_LIB.MXSymbolCreateFromFile(c_str(fname), ctypes.byref(handle)))
2422 return Symbol(handle)
2423

~/anaconda3/envs/mxnet3/lib/python3.6/site-packages/mxnet/base.py in check_call(ret)
143 """
144 if ret != 0:
--> 145 raise MXNetError(py_str(_LIB.MXGetLastError()))
146
147 if sys.version_info[0] < 3:

MXNetError: Failed loading Op conv4_x__1_c3x3-b(1)__conv of type ChannelwiseConvolution: [09:17:56] src/core/op.cc:55: Check failed: op != nullptr Operator ChannelwiseConvolution is not registered

I hope your help,Thanks.

Code link

There are links only to Trained model. I could not find the code for training or defining the CRU model. Please let me know where can I find the source code.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.