AnjanDutta / sem-pcyc

PyTorch implementation of the paper "Semantically Tied Paired Cycle Consistency for Zero-Shot Sketch-based Image Retrieval", CVPR 2019.
MIT License
110 stars 24 forks source link

About the number of images and sketches #25

Closed tiangarin closed 3 years ago

tiangarin commented 3 years ago

First of all, thank you for your excellent work. I checked the sample number for both datasets with the following command: print(len(glob.glob(r'/***/ZS_SBIR/sem-pcyc/Datasets/Data/Sketchy/sketch/tx_000000000000/*/*.png')), '\n') print(len(glob.glob(r'/***/ZS_SBIR/sem-pcyc/Datasets/Data/Sketchy/extended_photo/*/*.jpg')), '\n') print(len(glob.glob(r'/***/ZS_SBIR/sem-pcyc/Datasets/Data/TU-Berlin/sketches/*/*.png')), '\n') print(len(glob.glob(r'/***/ZS_SBIR/sem-pcyc/Datasets/Data/TU-Berlin/images/*/*.jpg')), '\n') And I got 75481,73002,20000,204070. So, I want to know why the number of sketches of Sketchy and the number of images of TU-Berlin is not exactly the same as the paper say. Thank you in advance for your answers.

sahilkhose commented 3 years ago

Running it now got me the following numbers: 75481, 73002, 20000, 6115

sahilkhose commented 3 years ago

75481, 73002, 20000, 204070 after removing the png/jpg extensions