当前位置:网站首页>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 .
边栏推荐
- [Niuke] find 1+2+3+... +n
- The simulation test disconnects the server from the public network
- Information system project manager (2022) - key content: intellectual property rights and standards and specifications (22)
- Slice切片
- Efficient practice intelligent analysis of massive log data in aviation industry
- Render the data obtained from the database to the table in elementui
- Un7.27: how to successfully build a ruoyi framework project in idea?
- Servlet usage
- Kingbasees Security Guide for Jincang database -- 5.2. data integrity protection
- JDBC usage
猜你喜欢

Idea start project MVN command terminal cannot recognize "MVN" item as cmdlet

VAE generation model (with VAE implementation MNIST code)

功耗:Leakage Power

Construction and use of FTP server and NFS server

企业数字化建设“三不五要”原则

网页源代码查看竟然有这么多方法!你都知道吗?

ESP8266 WIFI 模块和手机通信
![[day03] process control statement](/img/4d/d66140962b7e121a2fea2c366a972a.png)
[day03] process control statement

Practice and thinking of AI standardization engine in pink client

Space complexity calculation super full sorting!! (calculation of hand tearing complexity
随机推荐
H265/HEVC名词解释-- CTU,CTB,CU,CB,TU,PU,TB,PB,LCU,Slice,Tile,Chroma,Luma,I帧,B帧,P帧
Learn regular expressions (regexp)
[Niuke] find 1+2+3+... +n
Experience sharing of automatic test for students with monthly salary of 28K
Solana's "deceptive behavior": making mobile phones and opening stores
Go grpc: a solution of connection reset by peer
C # cross thread refresh foreground UI
What to do when encountering slow SQL? (next)
DNS series (III): how to avoid DNS spoofing
Glusterfs file is not mounted, permission: R-S
仿真测试断开服务器公网连接
Idea start project MVN command terminal cannot recognize "MVN" item as cmdlet
23 openwrt switch VLAN configuration
Kingbasees Security Guide for Jincang database -- 4 data access protection
H265/hevc noun explanation -- CTU, CTB, Cu, CB, Tu, PU, TB, Pb, LCU, slice, tile, chroma, luma, I frame, B frame, P frame
pl/sql之各参数详解(“箱子模型“)
C#跨线程刷新前台UI
10 more advanced open source command line tools
Information system project manager (2022) - key content: Project Portfolio Management (19)
RT thread changes the print serial port (add other functions on the basis of BSP)