当前位置:网站首页>报错:C:\cb\pytorch_1000000000000\work\aten\src\ATen\native\cuda\Indexing.cu:699: block: [9,0,0],
报错:C:\cb\pytorch_1000000000000\work\aten\src\ATen\native\cuda\Indexing.cu:699: block: [9,0,0],
2022-08-06 12:47:00 【像夏天一样热】
完整报错:
C:\cb\pytorch_1000000000000\work\aten\src\ATen\native\cuda\Indexing.cu:699: block: [9,0,0], thread: [0,0,0] Assertion `srcIndex < srcSelectDimSize` failed.
输出embedding后的词向量后报错:
RuntimeError: CUDA error: device-side assert triggered
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
原因:初始化的Embedding词表大小太小,数据没有找到对应词向量,可查看word2index字典大小与词表大小对比分析。
边栏推荐
- SQL Injection Review Summary
- Istio的扩展和定制
- STM32 startup process - startup_xxxx.s file analysis (MDK and GCC dual environment)
- How to find stills?Where can I get HD resources?It's too late to meet these 9 website channels!original
- SQL图解面试题:如何分析员工奖金?(多表连接、case when)
- [Geek Challenge 2019] PHP 1
- Multiple knapsack problem ← scale hour can be transformed into 0-1 knapsack problem
- 动物主题网页设计(小白必看)
- 安全第七天课后练习
- 安全第六天课后练习
猜你喜欢
随机推荐
Teach you to draw pixel art and share 195 issues every week
Web网页端IM产品RainbowChat-Web的v4.1版已发布
leetcode 105. 从前序与中序遍历序列构造二叉树
【SSL集训DAY1】A【BFS】
完美数列 PAT B1030
分布式架构网络通信
Web网页端IM产品RainbowChat-Web的v4.1版已发布
软件设计原则
Apscheduler scheduled task
Absolutely!Ali people explain tens of billions of high-concurrency systems in 7 parts (full-color booklet open source)
机器学习实战-手写数字图片分类预测
[Geek Challenge 2019] PHP 1
阿里巴巴2022全新出品亿级并发设计速成宝典(系统拆分,缓存,MQ,读写分离,分布分表,ES扩容应有尽有)
Go语言类型断言简述
分布式锁的应用实践 | 微服务申请逐渐递增且不重复的号码
Week 7 Learning Representation with Auto-Encoder (Unsupervised Learning)
One article to understand what is kubernetes Service
Kubernetes daily troubleshooting
PHP+HTML+MySQL realizes login error
【SSL集训DAY1】C【暴力】【数学】









