当前位置:网站首页>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 .
边栏推荐
- Information system project manager (2022) - key content: intellectual property rights and standards and specifications (22)
- [735. Planetary collision]
- Filters, interceptors, listeners
- Cookies and session
- IPC: multi process binder Aidl user guide, including cases
- RN interface jump description
- Kingbasees Security Guide for Jincang database -- 5.1. database transmission security
- Domestic high hidden free agent crawler code
- Security exception handling mechanism
- 23 openwrt switch VLAN configuration
猜你喜欢

Servlet usage

Password key hard coding check

JDBC usage

Do Netease and Baidu have their own tricks for seizing the beach AI learning machine?
![[performance optimization methodology series] III. core idea of performance optimization (2)](/img/3c/9a2daea9bc136ae48d20d96e8f0402.png)
[performance optimization methodology series] III. core idea of performance optimization (2)

《Intel Arria 10 Avalon-MM DMA Interface for PCI Express Solutions User Guide》文档学习

Un7.27: how to successfully build a ruoyi framework project in idea?

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

2022-7-27 顾宇佳 学习笔记

There are so many ways to view the web source code! Do you know?
随机推荐
Glusterfs file is not mounted, permission: R-S
[record of question brushing] 9. Number of palindromes
Un7.27: common commands of redis database.
Information system project manager (2022) - key content: Strategic Management (17)
虚拟机类加载机制
Null security and exception
Practice and thinking of AI standardization engine in pink client
校园流浪猫信息记录和分享的小程序源码
Security exception handling mechanism
Notes to subject 2
写给学生的一点建议-如何构建自己的知识体系?
【牛客】求1+2+3+...+n
Servlet usage
Cloud native Devops status survey questionnaire solicitation: kodelurover launched jointly with oschina
C#跨线程刷新前台UI
Advanced architects, 16 common principles of microservice design and Governance
MySQL:数据类型和运算符
Slice slice
Learn regular expressions (regexp)
How much does it cost to build a self built server for ark survival evolution?