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 the kernel size of head, add align_corners=False for interpolate #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

D-X-Y
Copy link

@D-X-Y D-X-Y commented Dec 3, 2019

Change two lines:

L241 in lib/models/hrnet.py, explicitly use align_corners=False, otherwise, it will raise a warning in PyTorch>1.3.0

L309, the kernel_size should be extra.FINAL_CONV_KERNEL (to align with L311).

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