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

add useful model utils #79

Closed
wants to merge 3 commits into from
Closed

add useful model utils #79

wants to merge 3 commits into from

Conversation

rentainhe
Copy link
Contributor

@rentainhe rentainhe commented Dec 26, 2021

TODO

Model relative

  • freeze_bn
  • unfreeze_bn
  • ActivationHook
  • freeze_unfreeze_fn

Others

  • random seed

Test

  • test freeze_bn
  • test activation_hook

@kaijieshi7
Copy link
Contributor

randomseed是不是少一个gpu的?

@rentainhe
Copy link
Contributor Author

randomseed是不是少一个gpu的?

我还不太确定能不能在oneflow里设置seed

@kaijieshi7
Copy link
Contributor

oneflow也是随机42的经验吗

@rentainhe
Copy link
Contributor Author

rentainhe commented Jan 26, 2022

oneflow也是随机42的经验吗

这个PR我在想好像没什么特别用,不然不合并了~

@rentainhe rentainhe closed this Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants