Open MariamAlz opened 2 years ago
The reason for the error is that the size of the test image is not the same as the one given in test.py (line 21 & 22). As the code framework is based on the original CycleGAN, their code has fixed the sizes of the test image (e.g., 548, 308), so you need to match the width and height of test.py (line 21 & 22) to the sizes of your test image (548->480).
If the image you are testing contains different dimensions, it is recommended to modify the code to read in the image dimensions directly rather than fixing them.
While trying to test using:
I get this error: