Skip to content
Discussion options

You must be logged in to vote

@YWJ-sudo when you provide coco_dataset_json to sahi predict cli or function, it saves results in coco prediction format: cli usage | functional usage

Or you can convert each ObjectPrediction object to COCO prediction format by using object_prediction.to_coco_prediction(image_id=...):

def to_coco_prediction(self, image_id=None):

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@fcakyon
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by fcakyon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants