Comments (7)
TOP 1.
from densenet.
@taineleau Thank you.
May I ask another question?
In paper, we compute the average (absolute) weight to conduct an experiment on Feature Reuse.
What is exactly the weight
?
And how do we compute it?
Thanks a lot.
from densenet.
@haikuoyao Let me try to answer your question. @liuzhuang13 Please correct me if I am wrong. Basically, the weight of a convolution layer is of shape (n_input_planes, n_output_plane, filter_width, filter_height)
. If we are looking at a specific layer l
, say l = 3
, this layer accepts features from layer 0, 1 and 2, which are concatenated as the input to layer 3.
Suppose we store the weight in w
(a python variable). (Note that, the number of channel of layer 0 is 24, and the growth rate k
is 12
).
Hence, the weight for the grid (s=0, l=3) is w[:24, :, :, :]
;
For (s=1, l=3), it's w[24:36, :, :, :]
;
For (s=2, l=3), it's w[36:48, :, :, :]
.
from densenet.
Thanks a lot @taineleau .
Sorry to ask another question.
How long did it take to classify one single image with densenet-161.t7
model by classify.lua
in you guys' experiment?
It takes around 2s here on GPU. Seems it's right. It shouldn't take so long, right?
from densenet.
oh... When I classified more than one image, it just took a little bit long on the first image and quite fast on rest images. Seems it's okay.
Sorry to bother you.
from densenet.
@haikuoyao You're right. For the first batch, the chips need some more time to get prepared. I believe if you take a look at the data time
, it takes up most of the time when you forward the first batch.
from densenet.
@taineleau Thanks a lot. I'm gonna close this issue. :)
from densenet.
Related Issues (20)
- Covolution before entering the first dense block for imagenet dataset HOT 1
- DenseNet on Pascal VOC HOT 2
- results on cifar100 HOT 1
- I tried to reproduce Wide-DenseNet-BC results on cifar10, but got 0.5% more than your error HOT 4
- Why is composite function BN-ReLU-Conv3x3 ? HOT 1
- Pretrained weights for the 0.8M parameters config HOT 1
- Why not share the first BN and ReLU? HOT 2
- The layers within the second and third dense block don't assign the least weight to the outputs of the transition layer in my trained model
- Why we can detach any layer without affecting others in densenet?
- question about standardization HOT 6
- cifar validation loss decrease than increase after learning rate change HOT 4
- Question on channel before entering the first block HOT 2
- Question on impede information flow HOT 1
- Is there a pretrained CIFAR 100 or CIFAR 10 model? HOT 2
- Densenet on CIFAR training from scratch
- Question on the last transition layer
- Receptive field of DenseNet
- image classification
- cannot open </cifar-10-python/data_batch_1>
- Different DensceNet
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from densenet.