-
-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update to ultralytics/yolov5 04.04.22 (#90)
* update to ultralytics/yolov5 04.04.22 * fix train args * update data_dict * fix val data_dict * load weight inside yolov5 context * handle fire args in export * attempt to fix export * update comment * add differences in readme * update readme
- Loading branch information
Showing
55 changed files
with
2,864 additions
and
1,746 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,4 +39,4 @@ fire | |
# AWS | ||
boto3>=1.19.1 | ||
# coco to yolov5 conversion | ||
sahi>=0.8.9 | ||
sahi>=0.9.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from yolov5.helpers import YOLOv5 | ||
from yolov5.helpers import load_model as load | ||
|
||
__version__ = "6.0.7" | ||
__version__ = "6.1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# YOLOv5 🚀 by Ultralytics, GPL-3.0 license | ||
# Hyperparameters for Objects365 training | ||
# python train.py --weights yolov5m.pt --data Objects365.yaml --evolve | ||
# See Hyperparameter Evolution tutorial for details https://github.com/ultralytics/yolov5#tutorials | ||
|
||
lr0: 0.00258 | ||
lrf: 0.17 | ||
momentum: 0.779 | ||
weight_decay: 0.00058 | ||
warmup_epochs: 1.33 | ||
warmup_momentum: 0.86 | ||
warmup_bias_lr: 0.0711 | ||
box: 0.0539 | ||
cls: 0.299 | ||
cls_pw: 0.825 | ||
obj: 0.632 | ||
obj_pw: 1.0 | ||
iou_t: 0.2 | ||
anchor_t: 3.44 | ||
anchors: 3.2 | ||
fl_gamma: 0.0 | ||
hsv_h: 0.0188 | ||
hsv_s: 0.704 | ||
hsv_v: 0.36 | ||
degrees: 0.0 | ||
translate: 0.0902 | ||
scale: 0.491 | ||
shear: 0.0 | ||
perspective: 0.0 | ||
flipud: 0.0 | ||
fliplr: 0.5 | ||
mosaic: 1.0 | ||
mixup: 0.0 | ||
copy_paste: 0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# YOLOv5 🚀 by Ultralytics, GPL-3.0 license | ||
# Hyperparameters for VOC training | ||
# python train.py --batch 128 --weights yolov5m6.pt --data VOC.yaml --epochs 50 --img 512 --hyp hyp.scratch-med.yaml --evolve | ||
# See Hyperparameter Evolution tutorial for details https://github.com/ultralytics/yolov5#tutorials | ||
|
||
# YOLOv5 Hyperparameter Evolution Results | ||
# Best generation: 467 | ||
# Last generation: 996 | ||
# metrics/precision, metrics/recall, metrics/mAP_0.5, metrics/mAP_0.5:0.95, val/box_loss, val/obj_loss, val/cls_loss | ||
# 0.87729, 0.85125, 0.91286, 0.72664, 0.0076739, 0.0042529, 0.0013865 | ||
|
||
lr0: 0.00334 | ||
lrf: 0.15135 | ||
momentum: 0.74832 | ||
weight_decay: 0.00025 | ||
warmup_epochs: 3.3835 | ||
warmup_momentum: 0.59462 | ||
warmup_bias_lr: 0.18657 | ||
box: 0.02 | ||
cls: 0.21638 | ||
cls_pw: 0.5 | ||
obj: 0.51728 | ||
obj_pw: 0.67198 | ||
iou_t: 0.2 | ||
anchor_t: 3.3744 | ||
fl_gamma: 0.0 | ||
hsv_h: 0.01041 | ||
hsv_s: 0.54703 | ||
hsv_v: 0.27739 | ||
degrees: 0.0 | ||
translate: 0.04591 | ||
scale: 0.75544 | ||
shear: 0.0 | ||
perspective: 0.0 | ||
flipud: 0.0 | ||
fliplr: 0.5 | ||
mosaic: 0.85834 | ||
mixup: 0.04266 | ||
copy_paste: 0.0 | ||
anchors: 3.412 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.