deep-head-pose icon indicating copy to clipboard operation
deep-head-pose copied to clipboard

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

Open khandriod opened this issue 3 years ago • 1 comments

How to fix this issue?

khandriod avatar Mar 17 '22 05:03 khandriod

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.

zosimanoz avatar Aug 05 '22 12:08 zosimanoz