Can I obtain a simil file like the file from the command --save-txt of Yolov5? #662
-
Hello |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 6 replies
-
@claudio9russo7 you can export coco result json file by providing dataset json to the predict command: https://github.com/obss/sahi/issues/356 |
Beta Was this translation helpful? Give feedback.
-
@fcakyon Ok, thank you. This is true only if they are already images with annotation or not? |
Beta Was this translation helpful? Give feedback.
-
I found similar the --export_pickle command. |
Beta Was this translation helpful? Give feedback.
-
Yes, that arg is relevant 👍 @claudio9russo7 does |
Beta Was this translation helpful? Give feedback.
-
Yep, solve my issue, I just want to suggest adding a possible choice of export format like .json or .txt :D |
Beta Was this translation helpful? Give feedback.
-
@claudio9russo7 noted it, will look into that feature when I find some time 🚀 |
Beta Was this translation helpful? Give feedback.
-
How can I install your version into my local python environment so I can
use it instead of the standard SAHI version I already have installed there?
…On Wed, Nov 15, 2023 at 1:37 AM andresinsitu ***@***.***> wrote:
https://github.com/andresinsitu/sahi_custom
Ive modified sahi so you can save the predictions txt in yolo format. You
can use it like this:
Add the argument export_yolo=True or the argument export_yolo_conf=True
to the predict function. The first one only saves xywh and the second one
also saves confidence so xywhc . Results will be saved to a "labels" folder
—
Reply to this email directly, view it on GitHub
<#662 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZIHUOS62UOEW6FPB35L6V3YESENJAVCNFSM6AAAAAAZYIS5G6VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TKNZUHA4TO>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
Yes, that arg is relevant 👍 @claudio9russo7 does
--export_pickle
solve your issue?