Skip to content

Undeclared variable in dataloader (and dataloader_test) #4

@Bashirkazimi

Description

@Bashirkazimi

Hi,

Great work. Please correct me if I am wrong, but shouldn't

img_dirs['y'] = [files.replace('/HR/', '/LR/') for files in x_files]

actually be:

img_dirs['y'] = [files.replace('/HR/', '/LR/') for files in img_dirs['x']]

in pytorch/utils/dataloader.py line 201

The x_files variable is not defined before.

Similar typo in line 204 and the corresponding dataloader_test file.

Cheers,
Bashir

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