guillaumejs2403 / DiME

Official Code for the ACCV 2022 paper Diffusion Models for Counterfactual Explanations
https://guillaumejs2403.github.io/projects/dime.html
MIT License
22 stars 2 forks source link

annotation files from CelebA dataset is no longer in csv format #3

Closed nina-weng closed 1 year ago

nina-weng commented 1 year ago

Hi there, Thank you for open sourcing your code!! I have noticed that on CelebA webpage, they now only provide the .txt files as the annotation (link). Not sure if I missed the csv files anywhere on the CelebA website, if so, could you please let me know how to find it? Otherwise, is that okay if I just simply convert the txt to csv if I wanna reproduce the sampling process? Or could you provide the csv files as well?

Best, Nina

guillaumejs2403 commented 1 year ago

Hi Nina,

Maybe I changed it, or it was a csv when I downloaded it long ago. Just replace the ".txt" with ".csv" and it should work. Please let me know if it did.

nina-weng commented 1 year ago

Hi! I delete the first line of the attribution annotation file (the first line is just one number 202599, not as a part of the table) and convert it to csv using pandas. And it works.

guillaumejs2403 commented 1 year ago

Cool! Thanks remarking this problem :)