DenseNet icon indicating copy to clipboard operation
DenseNet copied to clipboard

Question on channel before entering the first block

Open Sirius083 opened this issue 5 years ago • 2 comments

Hello, I want to reproduce the results on densenet-cifar10/cifar100, but got lower accuracy on tensorflow implementation. There is one question on model architecture, In the paper Implementation Details part: "Before entering the first dense block, a convolutional with 16(or twice the growth eate for DenseNet-BC) output channels is performed on the input images." However the code seemingly all use twice the growth rate on first block. https://github.com/liuzhuang13/DenseNet/blob/master/models/densenet.lua#L15 https://github.com/liuzhuang13/DenseNet/blob/master/models/densenet.lua#L70 Since I did not get the same accuracy level with pytorch implementaion (25.53% on cifar100 d_40_k_12_no_bottleneck, 24.42% in paper. following the same data augmentation as your official code), I am wondering whether this caused the difference? (since I am a beginner on pytorch, maybe it is in other part of the code, can you point it out) Thanks in advance

Sirius083 avatar May 14 '19 03:05 Sirius083

same issues

atztao avatar Jan 05 '20 00:01 atztao

same issues

YanFuHai06 avatar Mar 18 '21 03:03 YanFuHai06