# Seeing the same images that have already been annotated

**URL:** <https://support.prodi.gy/t/seeing-the-same-images-that-have-already-been-annotated/3622>\
**Category:** Uncategorized\
**Tags:** usage, image, solved\
**Created:** [November 10, 2020, 7:42pm UTC](https://support.prodi.gy/t/seeing-the-same-images-that-have-already-been-annotated/3622 "2020-11-10T19:42:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SikandAlex](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/sikandalex/32/1739_2.png) [@SikandAlex](https://support.prodi.gy/u/SikandAlex)\
**Post date:** [November 10, 2020, 7:42pm UTC](https://support.prodi.gy/t/seeing-the-same-images-that-have-already-been-annotated/3622/1 "2020-11-10T19:42:14Z")

</div>

I annotated about 400 images and ignored about 500 images and saved the annotations to a dataset called _coats-jackets-4200_. Today I woke up and wanted to continue labeling my dataset and launched prodigy again on my pre-existing dataset (_coats-jackets-4200_). I'm seeing a bunch of images that I have already labeled... what is the solution to this? Or am I doing something wrong?

I've read that this should be handled automatically by Prodigy. Is there something wrong with the hashes? I haven't changed anything in the recipe or elsewhere since restarting the server.

I have tried to implement a solution I found on here that filters the stream based on the input hashes but it is not working.

```
@prodigy.recipe("classify-images")
def classify_images(dataset, source):
    
    # In your recipe function
    db = connect()
    input_hashes = db.get_input_hashes(dataset)
    
    def get_stream():
        # Load the directory of images and add options to each task
        stream = Images(source)
        stream = filter_inputs(stream, input_hashes)
        for eg in stream:
            eg["options"] = OPTIONS
            yield eg

    return {
        "dataset": dataset,
        "stream": get_stream(),
        "view_id": "choice",
        "config": {
            "choice_style": "single", # or "multiple"
            # Automatically accept and submit the answer if an option is
            # selected (only available for single-choice tasks)
            "choice_auto_accept": False
        }
    }

```

I identified an image that was presented and annotated twice, exported my annotations with `db-out` and then looked at the input hash and task hash for them.

![Screen Shot 2020-11-10 at 12.18.33 PM](https://us1.discourse-cdn.com/flex020/uploads/prodigy/original/2X/1/1fc9a2cfe863735648acfa8ee424d970ddc86c8a.png)

...they are exactly the same

Prodigy still repeats images although this is meant to be avoided automatically and still repeats them even with the additional filtering logic that you can see in my recipe above taken from [here](https://support.prodi.gy/t/image-classification-choice-duplicated-images/1412).

Every time I restart the annotation server it shows me the same images in the exact same order, completely ignoring the task\_hash and input\_hash.

I have tried creating a new dataset, annotating the first example, closing the server, restarting the server on the same dataset and I am served the same initial image and both annotations get written to the output file. Really messing with my workflow.

**Prodigy 1.10.4**  
**Ubuntu 20.04**

---

<div class="post-metadata">

**Author:** ![ines](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ines/32/3_2.png) [@ines](https://support.prodi.gy/u/ines)\
**Post date:** [November 11, 2020, 1:48am UTC](https://support.prodi.gy/t/seeing-the-same-images-that-have-already-been-annotated/3622/2 "2020-11-11T01:48:28Z")

</div>

Hi! Are you using named multi-user sessions in your workflow and if not, can you try setting `"feed_overlap": false` in your `prodigy.json` and try again?

---

<div class="post-metadata">

**Author:** ![SikandAlex](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/sikandalex/32/1739_2.png) [@SikandAlex](https://support.prodi.gy/u/SikandAlex)\
**Post date:** [November 11, 2020, 4:17pm UTC](https://support.prodi.gy/t/seeing-the-same-images-that-have-already-been-annotated/3622/3 "2020-11-11T16:17:23Z")

</div>

I'm not using named multi-user sessions I'm just annotating individually using a personal license.

I'm trying that setting right now.

---

<div class="post-metadata">

**Author:** ![SikandAlex](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/sikandalex/32/1739_2.png) [@SikandAlex](https://support.prodi.gy/u/SikandAlex)\
**Post date:** [November 11, 2020, 4:26pm UTC](https://support.prodi.gy/t/seeing-the-same-images-that-have-already-been-annotated/3622/4 "2020-11-11T16:26:14Z")

</div>

@ines Thank you! This solved my issue.
