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

Fixed convert_syncbn_model function #380

Merged
merged 1 commit into from
Sep 12, 2019
Merged

Fixed convert_syncbn_model function #380

merged 1 commit into from
Sep 12, 2019

Conversation

whyjay
Copy link
Contributor

@whyjay whyjay commented Jun 27, 2019

Current, apex.parallel.convert_syncbn_model method does not obtain num_batches_tracked property from original batch norm object.
So i added a line for that.

mod.num_batches_tracked = module.num_batches_tracked

@whyjay whyjay changed the title Fixed error in convert_syncbn_model function Fixed convert_syncbn_model function Jun 27, 2019
@mcarilli
Copy link
Contributor

@jjsjann123 is this fine? Looks fine to me.

@jjsjann123
Copy link
Collaborator

Looks fine let's merge it.
@whyjay Thanks for contributing.

@mcarilli mcarilli merged commit e6cb749 into NVIDIA:master Sep 12, 2019
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.

3 participants