MACE icon indicating copy to clipboard operation
MACE copied to clipboard

Missing evaluation scripts

Open LucidStephen opened this issue 1 year ago • 3 comments

Thank you for this solid and interesting work. However, I found that the clip_score evaluation script of the 100_arts style is not included in this repository. The description of the paper about this experiment may result in the two evaluation methods: apply one prompt or five prompts to each art style.

LucidStephen avatar Apr 25 '24 14:04 LucidStephen

Hi, thanks for your interest.

The clip_score evaluation script is included in metrics/evaluate_clip_score.py, and you could input the prompt list prompts_csv/art_100_concepts.csv to evaluate the erasure of art style.

We apply 5 prompts to evaluate each art style, and for each prompt we use 5 seeds.

Shilin-LU avatar Apr 26 '24 03:04 Shilin-LU

Thank you for your reply. I noticed that sample_images_from_csv.py generates two folders "0" and "1" because of the type attribute in art_100_concepts.csv. This may require some modifications to evaluate_clip_score to accommodate artistic style experiments, such as adding a new args: type.

LucidStephen avatar Apr 26 '24 04:04 LucidStephen

Yes, you are right. Just small modifications work well.

Shilin-LU avatar Apr 26 '24 04:04 Shilin-LU