Skip to content

error while executing #2

@udaypachigolla999

Description

@udaypachigolla999

I am getting the following error while exceuting .

{"detail":"Not Found"}
{'detail': 'Not Found'}

KeyError Traceback (most recent call last)
~\AppData\Local\Temp/ipykernel_2224/1869963564.py in
58 print(json_data)
59 # parse the detected object names and pixel locations
---> 60 for i in json_data["objects"]["predictions"]:
61 if i["object_title"] in detection_data:
62 detection_data[i["object_title"] +"_" + str(counter)] = i["coordinates"]

KeyError: 'objects'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions