Skip to content

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

@jafri1272

Description

@jafri1272

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions