首页 Paddle框架 帖子详情
为什么paddleDetection总是警告这个错误
收藏
快速回复
Paddle框架 问答深度学习模型训练 1362 4
为什么paddleDetection总是警告这个错误
收藏
快速回复
Paddle框架 问答深度学习模型训练 1362 4

Warning:: 0D Tensor cannot be used as 'Tensor.numpy()[0]' . In order to avoid this problem, 0D Tensor will be changed to 1D numpy currently, but it's not correct and will be removed in release 2.6. For Tensor contain only one element, Please modify 'Tensor.numpy()[0]' to 'float(Tensor)' as soon as possible, otherwise 'Tensor.numpy()[0]' will raise error in release 2.6.

为什么总是报这个错误啊 救命!!!

0
收藏
回复
全部评论(4)
时间顺序
喝喝都是
#3 回复于2023-07

这个问题解决了吗,我也是这样

 

0
回复
墓地都涨价
#4 回复于2023-07
这个问题解决了吗,我也是这样  

将paddle的版本换成2.4

0
回复
喝喝都是
#5 回复于2023-08
将paddle的版本换成2.4

感谢,这个提示不影响进程好像

 

0
回复
华一化学痴
#6 回复于2023-08
将paddle的版本换成2.4

可行,牛

0
回复
需求/bug反馈?一键提issue告诉我们
发现bug?如果您知道修复办法,欢迎提pr直接参与建设飞桨~
在@后输入用户全名并按空格结束,可艾特全站任一用户