
python
文章平均质量分 76
参宿7
路虽远行则将至,事虽难做则必成
展开
-
pytorch_ssim.ssim() TypeError: conv2d() received an invalid combination of arguments - got (Tensor,
该函数目前只接受一对图片作为输入,而不是整个epoch,因此在验证集批处理大小> 1 的情况下不可用。原创 2022-12-19 02:16:24 · 4445 阅读 · 1 评论 -
解决方法集合CondaHTTPError:HTTP 000 CONNECTION FAILED for url<https://mirrors.tuna.tsinghua.edu.cn/anaco
CondaHTTPError:HTTP 000 CONNECTION FAILED for url<https://mirrors.tuna.tsinghua.edu.cn/anaconda主要原因:配置没配对方法A:在cmd输入,方法B:修改.condarc(运行期配置文件)其他原因。tips:pip镜像源下载包,暂时设置镜像源,永久设置镜像源下载原创 2022-12-02 18:43:41 · 24718 阅读 · 13 评论 -
model.train()与model.eval(),标准化(Standardization)、归一化(Normalization),Dropout,Batch Normalization通俗理解
TensorFlow和pytorch中dropout参数p,relu,sigmiod,tanh激活函数,nn.Linear原创 2022-11-06 23:05:26 · 867 阅读 · 0 评论 -
Linux:-bash: bash Anaconda: command not found
问题:Linux安装Anaconda 报错-bash: bash Anaconda3-2022.05-Linux-x86_64.sh: command not found。原因:复制的过程中可能会复制网站的中文字符进去,也可以因为编译原因,空格的个数不一样。解决:bash A然后用table自动补全。原创 2022-09-16 21:08:59 · 937 阅读 · 0 评论