随笔分类 -  2D-YOLOv5

YOLO
摘要:1、Yolov5-v6.0中使用的激活函数是SiLU。 2、SiLU(Sigmoid Linear Unit)激活函数也被称为 Swish 激活函数,它是 Google Brain 在 2017 年引入的一种自适应激活函数。 3、SiLU激活函数介绍:参考链接 Swish 函数的定义如下: f(x) 阅读全文
posted @ 2024-06-30 23:03 kuaqi 阅读(2534) 评论(0) 推荐(0)
摘要:make-sense | 图像标注工具 1、用来查看已标注coco数据集 1)标注结果 (1)txt文件,一张图片一个标注 (2)在标注txt文件夹中手动添加一个label 2、导入label 阅读全文
posted @ 2023-03-21 16:05 kuaqi 阅读(735) 评论(0) 推荐(0)
摘要:五种网络的比较 Yolov5代码中的五种网络,内容基本上都是一样的,只有最上方的depth_multiple和width_multiple两个参数不同。就是这两个参数(网络深度和网络宽度)决定着四种版本的不同。 阅读全文
posted @ 2023-03-16 12:09 kuaqi 阅读(1705) 评论(0) 推荐(0)
摘要:YOLOv5的Backbone详解、 1、参数 # Parameters nc: 80 # number of classes depth_multiple: 0.33 # model depth multiple width_multiple: 0.50 # layer channel multi 阅读全文
posted @ 2023-03-16 12:01 kuaqi 阅读(600) 评论(0) 推荐(0)
摘要:官网链接、 1、命令 1)没有模型配置,只能通过--model配置加载预训练模型 python train.py --epochs 5 --batch-size 4 --workers 4 --img 224 --data E:\数据集\flower_photos\flower_data --mod 阅读全文
posted @ 2023-03-16 10:25 kuaqi 阅读(184) 评论(0) 推荐(0)
摘要:一、以下是验证(Validate)部分 1、NMS # NMS # targets的xyxy targets[:, 2:] *= torch.tensor((width, height, width, height), device=device) # to pixels lb = [targets 阅读全文
posted @ 2023-03-12 17:27 kuaqi 阅读(364) 评论(0) 推荐(0)
摘要:1、scale_boxes() def scale_boxes(img1_shape, boxes, img0_shape, ratio_pad=None): # Rescale boxes (xyxy) from img1_shape to img0_shape if ratio_pad is N 阅读全文
posted @ 2023-03-12 17:24 kuaqi 阅读(179) 评论(0) 推荐(0)
摘要:1、如果安装了comet_ml,会自动启动该功能 2、安装后,应该是缺少配置的原因,训练最后会报错!这是是要上传结果失败的意思! COMET ERROR: Upload failed because of invalid Comet API key; please set COMET_API_KEY 阅读全文
posted @ 2023-03-11 10:21 kuaqi 阅读(770) 评论(0) 推荐(0)
摘要:1、加载coco128.yaml报错! 1)错误提示 UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 262: illegal multibyte sequence 2)解决方法 (1)在coco128.yaml头 阅读全文
posted @ 2023-03-11 09:49 kuaqi 阅读(821) 评论(0) 推荐(0)