Skip to content

Return results in sahi/predict.py #1114

Answered by fcakyon
imandrealombardo asked this question in Q&A
Discussion options

You must be logged in to vote

@imandrealombardo you can set export_pickle=True

export_pickle: bool = False,

and set return_dict=True

return_dict: bool = False,

then predict will return {'export_dir': str} then you can load the pickle in export dir to access object_prediction_list 👍🏻

Replies: 1 comment

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