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

CondeseNet-182* on Cifar100 validation 1 error rate is 19.73% where in paper is 18.47% #28

Closed
lizhenstat opened this issue Sep 11, 2019 · 6 comments

Comments

@lizhenstat
Copy link

lizhenstat commented Sep 11, 2019

Hi, I run CondenseNet-182* using command provided by issue 11 on Cfiar100

python main.py --model condensenet -b 64 -j 2 cifar100 --epochs 600 --stages 30-30-30 --growth 12-24-48

The result of the first run is 19.73%, the result in the second run is 19. 86%
The result in the paper is 18.47% (Table)
I just used all the default arguments in the code provide, do we need to make other changes?

Thanks in advance

@ShichenLiu
Copy link
Owner

Hi there,

You might need to set dropout rate to fully reproduce the results!

@lizhenstat
Copy link
Author

Thanks for your replying, I will add the dropout rate and try again.

@lizhenstat
Copy link
Author

@ShichenLiu Hi, I noticed that the dropout is placed before convolution layer,
In the original densenet-torch implementation, the order in each block is
BN-->relu-->conv-->dropout
Is there a particular reason for doing so?

    def forward(self, x):
        self._check_drop()
        x = self.norm(x)
        x = self.relu(x)
        if self.dropout_rate > 0:
            x = self.drop(x)
        ### Masked output
        weight = self.conv.weight * self.mask
        return F.conv2d(x, weight, None, self.conv.stride,
                        self.conv.padding, self.conv.dilation, 1)

@lizhenstat
Copy link
Author

After I add the dropout-rate-0.1, the final classification error rate is 19.2%, still higher than reported in the paper.

@ShichenLiu
Copy link
Owner

ShichenLiu commented Sep 16, 2019 via email

@lizhenstat
Copy link
Author

lizhenstat commented Oct 14, 2019

Hi, I tried different dropout rate for condensenet-182 on cifar100, here is the result:
condensenet-182-dropout 18.79%(dropout rate=0.1)
condensenet-182-dropout 18.7% (dropout rate=0.2)
I can't get the the proposed 18.47%
So I was wondering how many GPUs do you use? (I am only use one GPU here)

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

2 participants