Update README.md
Browse files
README.md
CHANGED
|
@@ -9,4 +9,20 @@ license: mit
|
|
| 9 |
short_description: code for the submission 1386
|
| 10 |
---
|
| 11 |
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
short_description: code for the submission 1386
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Pinpoint Counterfactuals: localized gender counterfactual generation (NeurIPS 2025 Datasets and Benchmarks track. Submission 1386)
|
| 13 |
+
|
| 14 |
+
## Getting started
|
| 15 |
+
|
| 16 |
+
To generate PinPoint Counterfactuals, take the following steps.
|
| 17 |
+
|
| 18 |
+
### Download the data
|
| 19 |
+
|
| 20 |
+
First, download the <a href="https://ai.meta.com/datasets/facet-downloads/">FACET</a> and <a href="https://ai.google.com/research/ConceptualCaptions/download">CC3M</a> dataset. Unpack them in the directory of your choice.
|
| 21 |
+
|
| 22 |
+
### Generating PP masks
|
| 23 |
+
|
| 24 |
+
Use the `Color-Invariant-Skin-Segmentation` module to generate masks, following the methodology outlined in the main submission manuscript.
|
| 25 |
+
|
| 26 |
+
### In-paint the images
|
| 27 |
+
|
| 28 |
+
Use the `BrushNet` module to in-paint the images from FACET and/or CC3M (see the respective scripts in `BrushNet/examples/brushnet/inapaint_*.py`.
|