当前位置:网站首页>Knowledge Distillation 7: Detailed Explanation of Knowledge Distillation Code
Knowledge Distillation 7: Detailed Explanation of Knowledge Distillation Code
2022-07-31 03:37:00 【@BangBang】
Code Description
Differences from yolov5-v6.1 code:
- data/hyps/hyp.scratch-low-distillation.yaml (added file, obtained by modifying hyp.scratch-low.yaml)
- utils/loss.py adds a function compute_distillation_output_loss
- train_distillation.py (added file, obtained by modifying train.py)
hyp.scratch-low-distillation.yaml

- Compared with the original
hyp.scratch-low.yaml, this file has moredisthyperparameters, which can be adjusted in the range of [0,1], close to 1The network will pay more attention to the distillation loss, and if it is close to 0, it will prefer thedetectionloss. This grass parameter is used to balance the detection loss and the distillation loss. - There are also corresponding weighted losses for
box loss, clss loss, obj loss.
utils/loss.py
utils/loss.py add a function compute_distillation_output_loss
边栏推荐
- Know the showTimePicker method of the basic components of Flutter
- 浅识Flutter 基本组件之CheckboxListTile组件
- els block to the left to move the conditional judgment
- 浅识Flutter 基本组件之showDatePicker方法
- 识Flutter 基本组件之showTimePicker 方法
- 进程间通信
- BUG definition of SonarQube
- 顺序表的实现
- Unity2D 自定义Scriptable Tiles的理解与使用(四)——开始着手构建一个基于Tile类的自定义tile(下)
- 【Exception】The field file exceeds its maximum permitted size of 1048576 bytes.
猜你喜欢

Just debuted "Fight to Fame", safety and comfort are not lost

(八)Math 类、Arrays 类、System类、Biglnteger 和 BigDecimal 类、日期类

递归查询单表-单表树结构-(自用)

LeetCode simple problem to find the subsequence of length K with the largest sum

大小端模式

STM32 problem collection

「 每日一练,快乐水题 」1331. 数组序号转换

安全20220712

端口排查步骤-7680端口分析-Dosvc服务

浅识Flutter 基本组件之CheckboxListTile组件
随机推荐
识Flutter 基本组件之showTimePicker 方法
[C language] Preprocessing operation
(线段树) 基础线段树常见问题总结
els 方块向左移动条件判断
Port inspection steps - 7680 port analysis - Dosvc service
Daily practice of LeetCode - palindrome structure of OR36 linked list
Redis implements distributed locks
(五)final、抽象类、接口、内部类
Mysql 45 study notes (23) How does MYSQL ensure that data is not lost
ClickHouse:设置远程连接
Observer pattern
Automation strategies for legacy systems
Pytest电商项目实战(上)
Analysis summary - self-use
Daily practice of LeetCode - 138. Copy a linked list with random pointers
【C语言】预处理操作
Use of QML
WebSocket Session为null
下载jar包的好地方
$attrs/$listeners