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

Why not use bn for teacher net in imagenet.py #37

Open
cheerss opened this issue Oct 26, 2019 · 2 comments
Open

Why not use bn for teacher net in imagenet.py #37

cheerss opened this issue Oct 26, 2019 · 2 comments

Comments

@cheerss
Copy link

cheerss commented Oct 26, 2019

Thanks for your great work first!

I wonder why you do not use BN layer when inference the teacher model here( https://github.com/szagoruyko/attention-transfer/blob/master/imagenet.py#L117 )? Is it a typo?

Hope for your reply!

@somone23412
Copy link

I have the same question 0.0

@somone23412
Copy link

Hi, I think i have known why there are no BN layers in teacher structure,

"Folded Models below have batch_norm parameters and statistics folded into convolutional layers for speed. It is not recommended to use them for finetuning."

url 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