当前位置:网站首页>The common loss function in the field of hyper Division
The common loss function in the field of hyper Division
2022-07-21 01:52:00 【Mick..】
1 Reconstruction losses
Directly compare the differences between pixels , In the field of hyperfractionation, usually L1 Loss function ratio L2 Clearer loss function 、 Convergence is faster .
class ReconstructionLoss(nn.Module):
def __init__(self, type='l1'):
super(ReconstructionLoss, self).__init__()
if (type == 'l1'):
self.loss = nn.L1Loss()
elif (type == 'l2'):
self.loss = nn.MSELoss()
else:
raise SystemExit('Error: no such type of ReconstructionLoss!')
def forward(self, sr, hr):
return self.loss(sr, hr)
2 Against the loss
GAN yes 2014 The unsupervised learning network that emerged in .GAN It is mainly the iterative optimization of the generation model and the discrimination model . The optimization goal is :
Maximize the probability estimation of the discriminant model for real samples , Minimize the estimation of the generated samples by the discriminant model .
3 Loss of perception
Perceived loss unlike MSE In that way, the pixels are calculated in the image space , Instead, the difference is made in the feature space .
As can be seen from the above formula , Perceived loss is actually related to MSE The losses are very similar , It's just transforming the computing space from image space to feature space .
边栏推荐
- Dynamic memory management
- 力扣343-整数分割——动态规划
- Uncaught (in promise) cancel
- At32 définit le délai en utilisant le registre DWT du noyau
- JASMINER X4在海外爆红,获众多知名博主点赞认可
- 95页智能工厂数字化、智能化规划、解决方案及建设方案2022
- NetFlow and SNMP are two different network monitoring methods
- cascade级联关系操作实例分析
- 显示SAP CRM Product hierarchy的一个小工具
- Proxyman, a native high-performance packet capturing tool, is for you who love learning
猜你喜欢
干货丨重中之重:数据分析中常用指标及术语!
Dynamic memory management
LeetCode. 1252. Number of odd value cells___ Simple simulation / row and column array + permutation and combination
Quick sequencing and optimization
为什么说巨星传奇(周杰伦)不构成传销?分销和传销有什么区别?
At32 MCU f415 OTG new function use
华为员工爆料,这个岗位要开始大量招人了!!!
[R language text mining]: emotion analysis and word cloud mapping
数据工程系列精讲(第五讲): Data-centric AI之数据集质量
Manually operated industrial robot
随机推荐
Ampere Altra Max provides sustainable high-resolution h.265 coding
[server data recovery] data recovery of a brand ProLiant server raid paralysis database file damage
Difference between filter and interceptor
编译+链接和预处理
Uncaught (in promise) cancel
Technical analysis premint security events, how to avoid attacks?
Monitor Tool 2019(2)Monit on Multiple Instances and Email Alerts
Unity shader 实现图片带圆角和边线border
力扣刷题记录4-----69. x 的平方根
AT32使用内核DWT寄存器设定延时时间
Message queuing - getting started with message queuing
[noi simulation] Simen Nong number (number theory, linked list)
力扣刷题记录1-----704.二分查找
从镜像仓库工具、镜像下载加速工具、安全扫描工具理解镜像存储和镜像安全
LeetCode. 1252. Number of odd value cells___ Simple simulation / row and column array + permutation and combination
Calculate the value of any root n
ICMP - ECHO / ECHO 回复 (PING) 消息
Handbrake installation problem: prompt to install frameworks NET
买服务器需要看哪些参数,如何看服务器配置
Use Amazon memorydb for redis as the metadata engine of juicefs