CUDA ERROR: device-side assert triggered at xxx
数组越界问题
根本原因在于: index越界
加载数据集真值的过程中出现了 xywh的值 >= 1 or < 0 的情况!!!
正常情况下数据集应满足 0 <= xywh < 1, 若超过超过此范围,后续加载真值进行loss functin计算时便会导致错误!
目标id超过或等于id总和
eg, id_total = 100, 数据集中标签最大应为99, 若出现100, 便会出现CUDA ERROR: device-side assert triggered at xxx
原创
2020-12-05 20:43:16 ·
949 阅读 ·
1 评论