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

changes done with a running pipeline #290

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
changes of val to save only 4 points
  • Loading branch information
utkarsh-chaurasia committed Jul 22, 2024
commit 6236a9e1de654524e6be1fe7696c6ce8ca3fbfe9
2 changes: 1 addition & 1 deletion data/val2yolo.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def wider2face(root, phase='val', ignore_small=0):
if box[2] < ignore_small or box[3] < ignore_small:
continue
box = convert((width, height), xywh2xxyy(box))
label = '0 {} {} {} {} -1 -1 -1 -1 -1 -1 -1 -1 -1 -1'.format(round(box[0], 4), round(box[1], 4),
label = '0 {} {} {} {}'.format(round(box[0], 4), round(box[1], 4),
round(box[2], 4), round(box[3], 4))
data[path].append(label)
return data
Expand Down