stylegan2-ada-pytorch icon indicating copy to clipboard operation
stylegan2-ada-pytorch copied to clipboard

Value Range error in apply_factor.py

Open chrober24 opened this issue 3 years ago • 1 comments

Describe the bug I'm getting this error when attempting to run the apply_factor.py script in your colab notebook:

File "apply_factor.py", line 190, in value_range=(-1, 1) # change range to value_range for latest torchvision TypeError: save_image() got an unexpected keyword argument 'value_range'

Is this a version issue? How can I fix it?

thanks

chrober24 avatar Feb 18 '22 19:02 chrober24

change it to range. Most probably you are not on the latest version of torchvision.

ucalyptus2 avatar Feb 18 '22 22:02 ucalyptus2