Skip to content

converting .json file into yolov8 acceptance format #277

Description

@shivakarnati

I would like to train yolov8 on fsoco-dataset, and for this I need to convert .json files into yolov8 acceptance format, which is
{ "description": "", "tags": [ { "id": 118615272, "tagId": 30143178, "name": "train", "value": null, "labelerLogin": "fsocov2", "createdAt": "2020-08-11T08:43:40.624Z", "updatedAt": "2020-08-11T08:43:40.624Z" } ], "size": { "height": 920, "width": 2872 }, "objects": [ { "id": 889978312, "classId": 9993511, "description": "", "geometryType": "rectangle", "labelerLogin": "fsocov2", "createdAt": "2020-08-11T08:17:13.366Z", "updatedAt": "2020-08-11T08:17:13.366Z", "tags": [], "classTitle": "blue_cone", "points": { "exterior": [ [ 2377, 198 ], [ 2398, 224 ] ], "interior": [] } }, { "id": 889978311, "classId": 9993511, "description": "", "geometryType": "rectangle", "labelerLogin": "fsocov2", "createdAt": "2020-08-11T08:17:13.366Z", "updatedAt": "2020-08-11T08:17:13.366Z", "tags": [], "classTitle": "blue_cone", "points": { "exterior": [ [ 2419, 189 ], [ 2436, 210 ] ], "interior": [] } }, { "id": 889978310, "classId": 9993511, "description": "", "geometryType": "rectangle", "labelerLogin": "fsocov2", "createdAt": "2020-08-11T08:17:13.366Z", "updatedAt": "2020-08-11T08:17:13.366Z", "tags": [], "classTitle": "blue_cone", "points": { "exterior": [ [ 2316, 212 ], [ 2345, 246 ] ], "interior": [] } },

into <class_id> <x_center> <y_center> <width> <height> but I don't know which value can I take as "x_center" and "y_center". Can somebody help me out?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions