Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the API,FAQ,Github Issue and AI community to get the answer.Have a nice day!
def getdata(): def reader(): for i in range(len(data_y)): yield np.array(data_X[i]).astype('float32'), np.array(data_y[i]- 3).astype('int64') return reader 您看看,百度上搜一下,都是这个问题,明显的访问内存越界问题,应该是官方库的问题,请帮忙改一下。不是环境问题。
4条答案
按热度按时间i34xakig1#
您好,我们已经收到了您的问题,会安排技术人员尽快解答您的问题,请耐心等待。请您再次检查是否提供了清晰的问题描述、复现代码、环境&版本、报错信息等。同时,您也可以通过查看官网API文档、常见问题、历史Issue、AI社区来寻求解答。祝您生活愉快~
Hi! We've received your issue and please be patient to get responded. We will arrange technicians to answer your questions as soon as possible. Please make sure that you have posted enough message to demo your request. You may also check out the API,FAQ,Github Issue and AI community to get the answer.Have a nice day!
sf6xfgos2#
您好,看了您之前提的那个issue,可以尝试换成cudnn7.6试试
5t7ly7z53#
您好,jetson nx上Paddl'e版本,CUDA版本和cuDNN版本是否匹配呢
0pizxfdo4#
图片
应该是内存访问导致的问题,是库的问题,您看看,百度一下,导出都是这个问题:
0x00007FFA0CAB62D1 (paddle_inference.dll)处(位于 xxx.exe 中)引发的异常: 0xC0000005: 读取位置 0x0000000000000000 时发生访问冲突。
https://www.cnblogs.com/dzqiu/p/9518190.html
https://blog.csdn.net/PaddlePaddle/article/details/86739880
PaddlePaddle运行时出现EnforceNotMet: Enforce failed错误:
问题解决
PaddlePaddle的label要从0开始递增。
def getdata():
def reader():
for i in range(len(data_y)):
yield np.array(data_X[i]).astype('float32'), np.array(data_y[i]- 3).astype('int64')
return reader
您看看,百度上搜一下,都是这个问题,明显的访问内存越界问题,应该是官方库的问题,请帮忙改一下。不是环境问题。