natanielruiz / deep-head-pose

:fire::fire: Deep Learning Head Pose Estimation using PyTorch.
Other
1.57k stars 367 forks source link

AttributeError: module 'torchvision.transforms' has no attribute 'Scale' #116

Open khandriod opened 2 years ago

khandriod commented 2 years ago

How to fix this issue?

zosimanoz commented 2 years ago

Scale have been depreciated in new pytorch version. Please use Resize() instead of Scale. It should solve your issue. https://discuss.pytorch.org/t/attributeerror-module-torchvision-transforms-has-no-attribute-scale/146687 Thanks.