grip-unina / ClipBased-SyntheticImageDetection

Apache License 2.0
14 stars 6 forks source link

Problem in Batching #6

Open ydvaayan opened 1 month ago

ydvaayan commented 1 month ago

Hey! Thanks for the amazing work. I was trying to run the code in batches of 8. Ran into an issue with torch.stack as all images for Corvi2023 are not resized to the same dimensions. I was wondering why is it so?

davin11 commented 1 month ago

The technique works only with batch-size equals to 1