Skip to content

fix freeze of bn in training#8

Open
xmyqsh wants to merge 1 commit intoTRI-ML:masterfrom
xmyqsh:patch-1
Open

fix freeze of bn in training#8
xmyqsh wants to merge 1 commit intoTRI-ML:masterfrom
xmyqsh:patch-1

Conversation

@xmyqsh
Copy link

@xmyqsh xmyqsh commented Oct 19, 2021

  1. add model.eval() for bn
  2. redefine train() for ResNet to freeze the net whenever the model.train() is called.

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

Successfully merging this pull request may close these issues.

1 participant