当前位置:网站首页>Brief introduction of 228 dropout methods of pytorch and fast implementation of dropblock with 4 lines of code based on dropout
Brief introduction of 228 dropout methods of pytorch and fast implementation of dropblock with 4 lines of code based on dropout
2022-06-27 02:16:00 【Ten thousand miles' journey to】
since dropout After the operation is proposed , Played tricks by the great gods . Specific have 8 Kind of , This article first introduces 8 Kind of Dropout Method , The last part is based on dropout use 4 Line code implementation DropBlock. The core principle is just one sentence :dropout Pixels will be lost randomly , But yes. dropout After up sampling the result of, the pixel will become a pixel block . Based on the data after up sampling dropout result , We can do that DropBlock. In this paper, we realize pytorch Edition and paddle Version of DropBlock.
In this article, we mainly talk about dropout Realization DropBlock The implementation of the , Because bloggers find a lot of implementations in browsing DropBlock The code is from the implementation probability p To keep_ratio transformation , Then based on Bernoulli distribution, we get mask, The code is rather dull . therefore , Based on the framework's own dropout Method , Fast implementation DropBlock( Core only 4 Line code ). So , We need to understand dropout Operation mechanism of , Has been based on the baptism of this thought dropout Variant operation .

1、Dropout Variant series of
Dropout: Random by pixel 0 In the process of training , Using samples from the Bernoulli distribution , With probability p Randomly zeroing some elements of the input tensor . Origin theory Improving neural networks by preventing co-adaptation of feature detectors [2012.7.3
边栏推荐
- 平均风向风速计算(单位矢量法)
- Memcached foundations 12
- 为什么传递SPIF_SENDCHANGE标志SystemParametersInfo会挂起?
- Flink learning 3: data processing mode (stream batch)
- Learn from Taiji Maker - mqtt Chapter 2 (I) QoS service quality level
- Don't be brainwashed. This is the truth about the wages of 90% of Chinese people
- 达梦数据库安装
- bluecms代码审计入门
- Introduction to stm32
- dat.gui.js星星圆圈轨迹动画js特效
猜你喜欢

Flink学习4:flink技术栈

Look! In June, 2022, the programming language ranking list was released! The first place is awesome

three. JS domino JS special effect

H5 liquid animation JS special effect code

Installing the Damon database using the command line

C language -- Design of employee information management system

Svg drag dress Kitty Cat

STM32入门介绍

lottie. JS creative switch button animal head

Parameter estimation -- Chapter 7 study report of probability theory and mathematical statistics (point estimation)
随机推荐
perl语言中 fork()、exec()、waitpid() 、 $? >> 8 组合
Oracle/PLSQL: Soundex Function
Oracle/PLSQL: Ltrim Function
How does the C # TCP server limit the number of connections to the same IP?
Oracle/PLSQL: Length Function
Oracle/PLSQL: HexToRaw Function
Constraintlayout Development Guide
Oracle/PLSQL: Lower Function
Oracle/PLSQL: Lpad Function
memcached基础10
SQLite Reader 插件测试SQLite语法
Oracle/PLSQL: Substr Function
Dameng database installation
ConstraintLayout(约束布局)开发指南
dat. gui. JS star circle track animation JS special effect
别被洗脑了,这才是90%中国人的工资真相
Sword finger offer 𞓜: stack and queue (simple)
学习太极创客 — MQTT 第二章(一)QoS 服务质量等级
Oracle/PLSQL: NumToDSInterval Function
Addition, deletion, modification and query of ymal file