roboflow-python icon indicating copy to clipboard operation
roboflow-python copied to clipboard

search_all() inconsistency issues

Open CexyNature opened this issue 2 months ago • 0 comments

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.

CexyNature avatar Oct 07 '25 03:10 CexyNature