Skip to content

Issues running the test.py #88

Description

@acamargofb

test.py --config_path ./configs/test/SRGAN_x4-SRGAN_ImageNet-Set5.yaml
Traceback (most recent call last):
File "test.py", line 26, in
from dataset import CUDAPrefetcher, PairedImageDataset
File "/mnt/c/Users/User/Desktop/Personal/UNI/SRGAN/SRGAN-PyTorch-main/SRGAN-PyTorch-main/dataset.py", line 25, in
from imgproc import image_to_tensor, image_resize
File "/mnt/c/Users/User/Desktop/Personal/UNI/SRGAN/SRGAN-PyTorch-main/SRGAN-PyTorch-main/imgproc.py", line 514, in
center: tuple[(int, int)] = None,
TypeError: 'type' object is not subscriptable

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