Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shape Mismatch Between the given download link set5 and the set5 in testsets #158

Open
Andrew-Ma-2001 opened this issue Aug 8, 2024 · 0 comments

Comments

@Andrew-Ma-2001
Copy link

(yolov5) (base) mayanze@trainer3:~/PycharmProjects/SwinTF$ python -c "import cv2; import numpy as np; img1 = cv2.imread('/home/mayanze/PycharmProjects/SwinTF/dataset/testsets/Set5/LRbicx2/baby.png'); img2 = cv2.imread('/home/mayanze/PycharmProjects/SwinTF/dataset/testsets/Set5_swinir/LR_bicubic/X2/babyx2.png'); print(f'Shapes: {img1.shape}, {img2.shape}'); print(f'Are images identical: {np.array_equal(img1, img2)}')"
Shapes: (252, 252, 3), (256, 256, 3)
Are images identical: False

As the description, the given downloaded set5 baby.png in LRbicx2 was shape (252,252,3)
But in the current github testsets dir, the set5 baby.png in LR_bicubic/X2 was shape (256,256,3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant