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

Fix compatibility issues with torch==1.1.0 #31

Merged
merged 1 commit into from
Aug 5, 2019
Merged

Fix compatibility issues with torch==1.1.0 #31

merged 1 commit into from
Aug 5, 2019

Conversation

jianchao-li
Copy link
Contributor

@jianchao-li jianchao-li commented Aug 3, 2019

RuntimeError: Error(s) in loading state_dict for Net:
	Unexpected running stats buffer(s) "model1.1.running_mean" and "model1.1.running_var" for InstanceNorm2d with track_running_stats=False. If state_dict is a checkpoint saved before 0.4.0, this may be expected because InstanceNorm2d does not track running stats by default since 0.4.0. Please remove these keys from state_dict. If the running stats are actually needed, instead set track_running_stats=True in InstanceNorm2d to enable them. See the documentation of InstanceNorm2d for details.

@zhanghang1989 zhanghang1989 merged commit 8b5eb62 into zhanghang1989:master Aug 5, 2019
@GreenTeaHua
Copy link

mark

@amrzv amrzv mentioned this pull request Jan 25, 2021
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