03 2021 档案

摘要:参考链接: 1. Pytorch中 detach() item() cpu() numpy()理解: https://blog.csdn.net/weixin_43289424/article/details/105803097 2. pytorch 中tensor在CPU和GPU之间转换,以及nu 阅读全文
posted @ 2021-03-30 19:39 vv_869 阅读(1422) 评论(0) 推荐(1) 编辑
摘要:1. 报错如下: 发生异常: TypeError rsub() received an invalid combination of arguments - got (Tensor, numpy.ndarray), but expected one of: * (Tensor input, Tens 阅读全文
posted @ 2021-03-29 21:33 vv_869 阅读(5361) 评论(0) 推荐(0) 编辑
摘要:1. 报错:'Tensor' object is not callable 2. 解决:https://blog.csdn.net/york1996/article/details/84037641 https://blog.csdn.net/suyulan123456/article/detail 阅读全文
posted @ 2021-03-29 14:56 vv_869 阅读(2698) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/qq_36575363/article/details/110197172 https://blog.csdn.net/u012505617/article/details/107530252 阅读全文
posted @ 2021-03-29 09:35 vv_869 阅读(2318) 评论(0) 推荐(0) 编辑
摘要:来自: https://blog.csdn.net/u013841196/article/details/89875121 ,欧式距离的2种实现。 https://blog.csdn.net/SanyHo/article/details/105803103 ,曼哈顿距离(L1范数)& 欧式距离(L2 阅读全文
posted @ 2021-03-18 11:03 vv_869 阅读(90) 评论(0) 推荐(0) 编辑
摘要:如题,安装opencv报错了,截图如下: 原因在于国外源太慢了,于是切换为清华源,如下: pip install opencv-python -i https://pypi.tuna.tsinghua.edu.cn/simple 最后成功安装。 附一些镜像源: 1 清华:https://pypi.t 阅读全文
posted @ 2021-03-13 17:17 vv_869 阅读(900) 评论(0) 推荐(0) 编辑