Closed ramgj28 closed 2 years ago
So i found that in the code snippet
p_filenames = glob.glob('Dataset/CUHK/Training photo/*')
s_filenames = glob.glob('Dataset/CUHK/Training sketch/*')
the order of the files need not be sorted. adding the sorted() function solved the issue for me.
p_filenames = sorted(glob.glob('Dataset/CUHK/Training photo/*'))
s_filenames = sorted(glob.glob('Dataset/CUHK/Training sketch/*'))
Hope this helps someone. Cheers
issue still exists