当前位置:网站首页>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
边栏推荐
猜你喜欢
随机推荐
"All majors are persuading them to quit." is it actually the most friendly to college students?
Oracle/PLSQL: Ltrim Function
Oracle/PLSQL: Rtrim Function
memcached基礎12
达梦数据库安装
canvas粒子篇之鼠标跟随js特效
Oracle/PLSQL: Lpad Function
mmdetection ValueError: need at least one array to concatenate解决方案
Memcached foundation 9
学习太极创客 — MQTT(八)ESP8266订阅MQTT主题
Press key to control LED status reversal
Oracle/PLSQL: Substr Function
memcached基础14
YaLM 100B:来自俄罗斯Yandex的1000亿参数开源大模型,允许商业用途
Memcached foundations 12
正则表达式:语法
C language -- Design of employee information management system
Oracle/PLSQL: HexToRaw Function
h5液体动画js特效代码
P5.js death planet








