Skip to content

search_all() inconsistency issues #418

@CexyNature

Description

@CexyNature

The Roboflow API is returning inconsistency results. After uploading a batch of images to a project, I found 9 images were missing. I wanted to verify which images were missing, and made use of search_all(). However, this function returns multiple duplicated images that I cannot find in the GUI. I thought it could be a timing issue from the API request and tried different methods:

images = []
for page in project.search_all(fields=["id", "name"]):
    images.extend(page)
images = []
for page in project.search_all(fields=["id", "name"]):
    images.extend(page)
    time.sleep(1)

Every time I ran either option, I got different set of images with different subset of duplicates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions