a-PyTorch-Tutorial-to-Super-Resolution icon indicating copy to clipboard operation
a-PyTorch-Tutorial-to-Super-Resolution copied to clipboard

Type Error: can only concatenate tuple (not "float") to tuple

Open jafri1272 opened this issue 3 years ago • 0 comments

Traceback (most recent call last): File "eval.py", line 72, in sr_imgs_y = convert_image(sr_imgs, source='[-1, 1]', target='y-channel').squeeze( File "/scratch/hpc55a02/SRGANO/o/t/utils.py", line 70, in convert_image img = (img + 1.) / 2. TypeError: can only concatenate tuple (not "float") to tuple Traceback (most recent call last): File "eval.py", line 72, in sr_imgs_y = convert_image(sr_imgs, source='[-1, 1]', target='y-channel').squeeze( File "/scratch/hpc55a02/SRGANO/o/t/utils.py", line 70, in convert_image img = (img + 1.) / 2. TypeError: can only concatenate tuple (not "float") to tuple Traceback (most recent call last): File "eval.py", line 72, in sr_imgs_y = convert_image(sr_imgs, source='[-1, 1]', target='y-channel').squeeze( File "/scratch/hpc55a02/SRGANO/o/t/utils.py", line 70, in convert_image img = (img + 1.) / 2. TypeError: can only concatenate tuple (not "float") to tuple Traceback (most recent call last): File "eval.py", line 72, in sr_imgs_y = convert_image(sr_imgs, source='[-1, 1]', target='y-channel').squeeze( File "/scratch/hpc55a02/SRGANO/o/t/utils.py", line 70, in convert_image img = (img + 1.) / 2. TypeError: can only concatenate tuple (not "float") to tuple

jafri1272 avatar Dec 27 '22 08:12 jafri1272