This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
nihui
/
ncnn
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
46
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
Update yolov5.py (
#3656
)
fix rect position bug.
tags/20220420
Guo Haria
GitHub
4 years ago
parent
94beeaf000
commit
67f52ba73c
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
python/ncnn/model_zoo/yolov5.py
+ 2
- 2
python/ncnn/model_zoo/yolov5.py
View File
@@ -261,8 +261,8 @@ class YoloV5s:
Detect_Object(
obj[5],
obj[4],
obj[0] / scale,
obj[1] / scale,
(
obj[0]
- (wpad / 2))
/ scale,
(
obj[1]
- (hpad / 2))
/ scale,
(obj[2] - obj[0]) / scale,
(obj[3] - obj[1]) / scale,
)
Write
Preview
Loading…
Cancel
Save