Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pavlo Beylin
MaD Patch Yolov5
Commits
795ed070
Commit
795ed070
authored
Oct 13, 2021
by
Pavlo Beylin
Browse files
Remove comment.
parent
20ac0a35
Changes
1
Hide whitespace changes
Inline
Side-by-side
main.py
View file @
795ed070
...
...
@@ -173,8 +173,6 @@ def calculate_csms(frame, predictions):
tup
=
(
pred_img_section
,
predictions
.
logits
[
i
],
frame
,
x1
,
y1
,
x2
,
y2
)
imgs_and_logits
.
append
(
tup
)
# TODO insert non_max_suppression
imgs
,
csms
,
cls
=
CSM
.
calc_yolo_person_csms
(
imgs_and_logits
,
rescale_factor
=
0
,
loss_rescale_factor
=
1000
)
return
imgs
,
csms
,
cls
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment