Closed lezhang7 closed 1 year ago
Hi @Magiccircuit,
it takes time because we are using spacy to generate all the possible perturbations for the captions! You should be able to easily wrap it ina multiprocessing.Pool
this if you need to speed it up!
let me know if you need help on this!
Hello, I just pushed an updated that should make the generation of the shuffled options faster, let me know if this works
for loading dataset, small bug where it should be
enumerate(tqdm(self.annotation))
. And one question, why it takes so much time loading coco order dataset?