错误日志
记录日常bug与解决过程
ndwuhuangwei
这个作者很懒,什么都没留下…
展开
-
树莓派 SSH连接 “Remote side unexpectedly closed network connection”
网上有非常多应对方法尝试了无数种,没一个有用,最后偶然间发现了原因:开了远程校园VPN!!!再遇到类似问题先把所有代理都关了再试试原创 2022-04-29 00:56:50 · 5459 阅读 · 0 评论 -
【tensorflow 2】InvalidArgumentError: cannot compute XXX(tf算子) .... 数据类型错误
提示的错误tensorflow.python.framework.errors_impl.InvalidArgumentError: cannot compute SquaredDifference as input #1(zero-based) was expected to be a double tensor but is a float tensor [Op:SquaredDifference]Debug 过程单步调试后发现错误就在于一个叫 SquaredDifference 的 tf 算子原创 2022-03-12 20:20:27 · 3554 阅读 · 0 评论 -
import tensorflow时出现“AlreadyExistsError: Another metric with the same name already exists”
这是因为环境中的 keras与tensorflow版本不匹配,tensorflow是什么版本,keras就要是什么版本这里我就是2.6的tensorflow与2.8的keras一起用nuinstall keras,换成2.6的keras即可原创 2022-03-03 13:53:43 · 2713 阅读 · 0 评论 -
【错误日志】【vscode】import numpy 失败:DLL load failed
错误原因:shell 打开失败,导致 conda activate 失败,没有环境,自然没有 numpy解决:在 settings.json 中加入: "terminal.integrated.profiles.windows":{ "PowerShell": { "source": "PowerShell", "icon": "terminal-powershell" }, "Command Prompt原创 2021-09-16 23:49:57 · 211 阅读 · 0 评论