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

UserWarning: Default upsampling behavior when mode=bilinear is changed to align_corners=False since 0.4.0. #25

Open
pegahs1993 opened this issue Oct 21, 2022 · 0 comments

Comments

@pegahs1993
Copy link

pegahs1993 commented Oct 21, 2022

I can't run the demo because of these two warnings that I put here. Please help me

!python inference.py
--config configs/inference.yaml
--video_source=./docs/demo/videos/RD_Radio34_003_512.mp4
--output_dir=./docs/demo/output --if_extract


model [FaceReconModel] was created loading the model from checkpoints/Deep3D/epoch_20.pth 0% 0/1 [00:00<?, ?it/s]tcmalloc: large alloc 3170893824 bytes == 0x563fa3aa8000 @ 0x7ff1f1974b6b 0x7ff1f1994379 0x7ff19feb074e 0x7ff19feb27b6 0x7ff1deb17e43 0x7ff1de49247a 0x7ff1de7ecb3a 0x7ff1de814733 0x7ff1de99aa44 0x7ff1dead75de 0x7ff1de5308a6 0x7ff1de531a60 0x7ff1de7eea39 0x7ff1de06d249 0x7ff1de987a18 0x7ff1de8937d5 0x7ff1de53334b 0x7ff1dea23708 0x7ff1de06d249 0x7ff1de987a18 0x7ff1de893925 0x7ff1de529009 0x7ff1dea2e348 0x7ff1de06d249 0x7ff1de987a18 0x7ff1de893685 0x7ff1dfef470b 0x7ff1de06d249 0x7ff1de987a18 0x7ff1de893685 0x7ff1ee5aebc6 /usr/local/lib/python3.7/site-packages/torch/nn/functional.py:3063: UserWarning: Default upsampling behavior when mode=bilinear is changed to align_corners=False since 0.4.0. Please specify align_corners=True if the old behavior is desired. See the documentation of nn.Upsample for details. "See the documentation of nn.Upsample for details.".format(mode)) /usr/local/lib/python3.7/site-packages/torch/nn/functional.py:3385: UserWarning: Default grid_sample and affine_grid behavior has changed to align_corners=False since 1.3.0. Please specify align_corners=True if the old behavior is desired. See the documentation of grid_sample for details. warnings.warn("Default grid_sample and affine_grid behavior has changed " tcmalloc: large alloc 3170893824 bytes == 0x56412b2aa000 @ 0x7ff1f1974b6b 0x7ff1f1994379 0x7ff19feb074e 0x7ff19feb27b6 0x7ff1deb17e43 0x7ff1de49247a 0x7ff1de7ecb3a 0x7ff1de814733 0x7ff1de99aa44 0x7ff1dead75de 0x7ff1de5308a6 0x7ff1de531a60 0x7ff1de7eea39 0x7ff1de06d249 0x7ff1de987a18 0x7ff1de8937d5 0x7ff1de53334b 0x7ff1dea23708 0x7ff1de06d249 0x7ff1de987a18 0x7ff1de893925 0x7ff1dfe679c7 0x7ff1de06d249 0x7ff1de987a18 0x7ff1de893925 0x7ff1ee6af50e 0x563e4fe5f114 0x563e4fe5f231 0x563e4fec3a5d 0x563e4fe5e68b 0x563e4febefd6 ^C

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

No branches or pull requests

1 participant