Skip to content
New issue

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

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

Already on GitHub? # to your account

how to freeze syncbn? #392

Open
xLuge opened this issue May 12, 2021 · 3 comments
Open

how to freeze syncbn? #392

xLuge opened this issue May 12, 2021 · 3 comments

Comments

@xLuge
Copy link

xLuge commented May 12, 2021

hi, when i finetune the model,i need to freeze the syncbn. how can i do that?

@ravitejarj
Copy link

how r u fine tuning the model

@zhanghang1989
Copy link
Owner

hi, when i finetune the model,i need to freeze the syncbn. how can i do that?

You may use the eval mode. model.eval()

@xLuge
Copy link
Author

xLuge commented May 26, 2021

how r u fine tuning the model
i just fine tuning model like that https://hangzhang.org/PyTorch-Encoding/model_zoo/segmentation.html#pascal-voc-dataset
but according to the deeplab3, we should freeze bn after coco pretrain.

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

No branches or pull requests

3 participants