当前位置:网站首页>transform: failed to synchronize: cudaErrorAssert: device-side assert triggered
transform: failed to synchronize: cudaErrorAssert: device-side assert triggered
2022-07-28 04:26:00 【jst100】
This problem usually occurs when the loss function is loss.backward() This sentence :
The first is classification :
First, check whether the loss function of multi classification problem is used as the loss function of binary classification , Secondly, check whether the number of categories of the loss function of multiple classifications corresponds , Then if it is a binary loss function binary_cross_entropy() Remember to add the activation function sigmoid, There are many categories. They come with softmax Never mind the function
Then there is the problem of regression :
For the return question , The commonly used loss function is MSEloss, The problems in the title generally do not appear in MSEloss In itself , That is to say, it is mostly the problem of the model . Therefore, this time should be used CPU Run the model to get the real error information , And if used GPU Running it will only cover up the real error information .
边栏推荐
- 上班摸鱼打卡模拟器微信小程序源码
- H265/hevc noun explanation -- CTU, CTB, Cu, CB, Tu, PU, TB, Pb, LCU, slice, tile, chroma, luma, I frame, B frame, P frame
- glusterfs 文件未挂载,权限: r-s
- Important SQL server functions - date functions
- C语言初阶——循环语句(while,for,do while)
- [735. Planetary collision]
- Go结构体
- RN interface jump description
- What is the account opening process of qiniu business school? Is it safe?
- Important SQL server functions - numeric functions
猜你喜欢

Power consumption: leakage power

Null security and exception

openpose的一些个人理解

Information system project manager (2022) - key content: Project Contract Management (13)

空间复杂度计算超全整理!!(一起手撕复杂度计算

高数_第4章__曲线积分_习题解法

Important SQL server functions - numeric functions

Space complexity calculation super full sorting!! (calculation of hand tearing complexity

Important SQL server functions - other functions

上班摸鱼打卡模拟器微信小程序源码
随机推荐
null安全与异常
金仓数据库KingbaseES安全指南--4 数据访问保护
VAE generation model (with VAE implementation MNIST code)
Information system project manager (2022) - key content: Information System Security Management (20)
登录之后右上角改变 进入登录状态
[performance optimization methodology series] III. core idea of performance optimization (2)
Elementary level of C language -- while, for, do while
企业数字化建设“三不五要”原则
10 more advanced open source command line tools
重要的 SQL Server 函数 - 日期函数
Full resolution of the use of go native plug-ins
[record of question brushing] 9. Number of palindromes
Kingbasees Security Guide for Jincang database -- 5.1. database transmission security
Machine learning 07: Bayesian learning
A little advice for students - how to build their own knowledge system?
Kotlin——函数
【YOLOv5实战5】基于YOLOv5的交通标志识别系统-YOLOv5整合PyQt5
空间复杂度计算超全整理!!(一起手撕复杂度计算
Information system project manager (2022) - key content: Project Procurement Management (12)
[untitled]