Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debug enable to export tasks by yolo format #239

Merged
merged 1 commit into from
Dec 25, 2024
Merged

Conversation

rikunosuke
Copy link
Contributor

@rikunosuke rikunosuke commented Dec 25, 2024

issue

概要

YOLO を segmentation に対応する修正 で、ループ終了後にリターンをすべきところで、ループ中にリターンをしてしまっていた

テスト

  • 正しいYOLO形式で出力できる
    before
0
0.3849218
0.7038359
0.1395625
0.0954843

photo_2_2024-03-27_01-35-51_jpg.rf.2a5dec55c5c646d26d660dfdd237d2e7.txt

after

0 0.3849218 0.7038359 0.1395625 0.0954843
0 0.6371171 0.3432968 0.2228281 0.2289375
1 0.2361718 0.3145234 0.2975 0.2962656
1 0.7473046 0.7338359 0.3158593 0.2950468

photo_2_2024-03-27_01-35-51_jpg.rf.2a5dec55c5c646d26d660dfdd237d2e7.txt

  • セグメンテーションも問題なく出力できる

@rikunosuke rikunosuke self-assigned this Dec 25, 2024
@rikunosuke rikunosuke linked an issue Dec 25, 2024 that may be closed by this pull request
@ryoKaz ryoKaz merged commit ad06bf6 into main Dec 25, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

【bug修正】正しい yolo 形式でのエクスポート
2 participants