GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Tongcheng/DN_CaffeScript

BranchesTags
Open more actions menu

Latest commit

 

History

29 Commits
29 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 
solver.prototxt
solver.prototxt
 
 
train.sh
train.sh
 
 
train_test_BCBN_C10plus.prototxt
train_test_BCBN_C10plus.prototxt
 
 
train_test_BCBN_C10plusNoBias.prototxt
train_test_BCBN_C10plusNoBias.prototxt
 
 
train_test_BCBN_C10plusWithBias.prototxt
train_test_BCBN_C10plusWithBias.prototxt
 
 
train_test_BCBN_Maximal.prototxt
train_test_BCBN_Maximal.prototxt
 
 
train_test_BCBN_fastk24L250.prototxt
train_test_BCBN_fastk24L250.prototxt
 
 
train_test_BC_C10plus.prototxt
train_test_BC_C10plus.prototxt
 
 
train_test_BC_C10ultra.prototxt
train_test_BC_C10ultra.prototxt
 
 
train_test_C10Dual.prototxt
train_test_C10Dual.prototxt
 
 
train_test_densenet.prototxt
train_test_densenet.prototxt
 
 
train_test_densenetNoDropout.prototxt
train_test_densenetNoDropout.prototxt
 
 

Repository files navigation

DenseNet Space Efficient Implementation In Caffe

Caffe fork src: https://github.com/Tongcheng/caffe/

Features

This is an implementation that use O(T) space for data, where T is number of transitions within DenseBlock, for the simple model where totalLayer L = 40 and growthRate k = 12, number of transition in each DenseBlock is 12.

In comparison, the original implementation will take O(T^2) amount of space for data.

This version currently runs (without dropout) 6 iters/second, and use space less than 2 GB on GPU for L=40,k=12 model.

The way the linear space is implemented is:

(i) setting TensorDescriptor for cudnn explicitly, allowing stride between different image. (That means initially data deployed was not continuous, our process will fill in the blank data in the middle.)

(ii) In the backward phase, we first use BN forward and ReLU forward to reconstruct the corresponding data for a transition. Then we apply the normal backward procedure.

How to use it:

  1. clone the source

  2. mkdir build

  3. cmake .. (if you are using atlas) OR cmake .. -DBLAS=open (if you are using openblas)

  4. make all

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

126 stars

Watchers

9 watching

Forks

55 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.