Gumpest / YOLOv5-Multibackbone-Compression

YOLOv5 Series Multi-backbone(TPH-YOLOv5, Ghostnet, ShuffleNetv2, Mobilenetv3Small, EfficientNetLite, PP-LCNet, SwinTransformer YOLO), Module(CBAM, DCN), Pruning (EagleEye, Network Slimming), Quantization (MQBench) and Deployment (TensorRT, ncnn) Compression Tool Box.
991 stars 201 forks source link

对models/yolo_quantize.py文件的使用疑惑 #35

Closed XhHello closed 2 years ago

XhHello commented 2 years ago

大佬,请问这个文件的作用是啥啊,该如何使用啊,是量化用的吗

ZLkanyo009 commented 2 years ago

你好,是量化时使用的,在使用MQBench量化时(具体看README中的使用方式),会调用这个文件,目的是去除yolov5内部本来有的if else判断,防止MQBench做量化结点添加的时候出错。

XhHello commented 2 years ago

谢谢大佬的回复,我现在对量化还不懂,问的问题小白了,哈哈

------------------ 原始邮件 ------------------ 发件人: "Gumpest/YOLOv5-Multibackbone-Compression" @.>; 发送时间: 2021年12月8日(星期三) 上午10:57 @.>; @.**@.>; 主题: Re: [Gumpest/YOLOv5-Multibackbone-Compression] 对models/yolo_quantize.py文件的使用疑惑 (Issue #35)

你好,是量化时使用的,在使用MQBench量化时(具体看README中的使用方式),会调用这个文件,目的是去除yolov5内部本来有的if else判断,防止MQBench做量化结点添加的时候出错。

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.