Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question on channel before entering the first block #57

Open
Sirius083 opened this issue May 14, 2019 · 2 comments
Open

Question on channel before entering the first block #57

Sirius083 opened this issue May 14, 2019 · 2 comments

Comments

@Sirius083
Copy link

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

@atztao
Copy link

atztao commented Jan 5, 2020

same issues

1 similar comment
@YanFuHai06
Copy link

same issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants