Return results in sahi/predict.py #1114
-
Hi, I noticed that the function predict doesn't return results like in get_sliced_prediction. There, it returns Would it be possible to have the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@imandrealombardo you can set Line 369 in 1240bab and set Line 381 in 1240bab then predict will return |
Beta Was this translation helpful? Give feedback.
@imandrealombardo you can set
export_pickle=True
sahi/sahi/predict.py
Line 369 in 1240bab
and set
return_dict=True
sahi/sahi/predict.py
Line 381 in 1240bab
then predict will return
{'export_dir': str}
then you can load the pickle in export dir to accessobject_prediction_list
👍🏻