Lornatang / SRGAN-PyTorch

A simple and complete implementation of super-resolution paper.
Apache License 2.0
410 stars 105 forks source link

TypeError: 'type' object is not subscriptable #63

Closed gustavobsch closed 1 year ago

gustavobsch commented 1 year ago

Hello, the inference.py program is not working after the latest commits. Can you please fix it?

Thanks!

python3 inference.py

Traceback (most recent call last): File "inference.py", line 21, in import imgproc File "/app/SRGAN-PyTorch/imgproc.py", line 513, in center: tuple[int, int] = None, TypeError: 'type' object is not subscriptable

sheneman commented 1 year ago

Same here.

Lornatang commented 1 year ago

Fixed

Satyajit1993 commented 1 year ago

Still facing this error how to solve

center: tuple[int, int] = None, TypeError: 'type' object is not subscriptable

Lornatang commented 1 year ago

Wait me fix this error