```  
And here is the image:  
```python
dataset[idx]["image"]
```  
![edit-dataset](https://huggingface.co/datasets/diffusers/docs-images/resolve/main/evaluation_diffusion_models/edit-dataset.png)  
We will first edit the images of our dataset with the edit instruction and compute the directional similarity.  
Let's first load the [`StableDiffusionInstructPix2PixPipeline`]:  
```python
from diffusers import StableDiffusionInstructPix2PixPipeline