当前位置:网站首页>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
边栏推荐
- 注解用法含义
- IDEA 注释报红解决
- Just debuted "Fight to Fame", safety and comfort are not lost
- Mysql 45 study notes (twenty-five) MYSQL guarantees high availability
- MultipartFile file upload
- A brief introduction to the showDatePicker method of the basic components of Flutter
- IDEA comment report red solution
- Getting Started with CefSharp - winform
- 数据库文件中的未分配的块和未使用的块的区别
- Component pass value provide/inject
猜你喜欢

Understanding and Using Unity2D Custom Scriptable Tiles (4) - Start to build a custom tile based on the Tile class (below)

【Exception】The field file exceeds its maximum permitted size of 1048576 bytes.

LeetCode每日一练 —— 138. 复制带随机指针的链表
![[Compilation principle] Lexical analysis program design principle and implementation](/img/eb/035234a402edf18beb7e2f82ebec17.png)
[Compilation principle] Lexical analysis program design principle and implementation

type_traits metaprogramming library learning

A brief introduction to the CheckBox component of the basic components of Flutter

Redis实现分布式锁

Safety 20220712

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

组件传值 provide/inject
随机推荐
A brief introduction to the CheckBox component of the basic components of Flutter
VS QT - ui does not display newly added members (controls) || code is silent
《DeepJIT: An End-To-End Deep Learning Framework for Just-In-Time Defect Prediction》论文笔记
"DeepJIT: An End-To-End Deep Learning Framework for Just-In-Time Defect Prediction" paper notes
Detailed explanation of TCP and UDP
STM32 problem collection
No qualifying bean of type question
ClickHouse:设置远程连接
The els block moves the boundary to the right, and accelerates downward.
Daily practice of LeetCode - 138. Copy a linked list with random pointers
解析小结—自用
Redis实现分布式锁
[Swift] Customize the shortcut that pops up by clicking the APP icon
Difference between unallocated blocks and unused blocks in database files
浅识Flutter 基本组件之CheckBox组件
(Line segment tree) Summary of common problems of basic line segment tree
els 方块向右移动边界判断、向下加速
(tree) Last Common Ancestor (LCA)
IDEA comment report red solution
分布式系统架构需要解决的问题