![](https://img-blog.csdnimg.cn/20190918140012416.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
代码BUG
深度学习代码BUG及解决方法。
weixin_43722561
这个作者很懒,什么都没留下…
展开
-
解决Github加载ipynb文件无法打开或加载失败
解决Github加载ipynb文件无法打开或加载失败github上查看.ipynb文件时,有时候能加载很慢,有时候加载不出来。解决方法1.如果本机装好了jupyter notebook的话可以下载下来,在本机打开看,相对会快一些。本机打开的话会在浏览器中显示,地址为localhost:8888,也就是本机。2.如果不想下载的话,可以访问这个网站:https://nbviewer.jupyter.org/将无法打开的.ipynb的网址粘贴到此网站中。...原创 2020-10-09 11:07:43 · 858 阅读 · 0 评论 -
解决OSError: Unable to open file (truncated file: eof = 1236992, sblock-」base_addr = 0, stored_eoa = 8
问题OSError: Unable to open file (truncated file: eof = 1236992, sblock->base_addr = 0, stored_eoa = 80134624)原因下载模型时网络中断或者手滑“脑残”点了停止,造成文件内容没有完全下载完毕。解决方法网上有展示地址的,但是我的文件夹里找不到。索性直接暴力解决vgg16_weights_tf_dim_ordering_tf_kernels.h5直接搜,删除,就行了。...原创 2020-07-01 17:34:46 · 1291 阅读 · 1 评论 -
RuntimeError: invalid argument 0: Sizes of tensors must match except in dimension 0.
解决报错:RuntimeError: invalid argument 0: Sizes of tensors must match except in dimension 0. Got 756 and 1008 in dimension 2原因:输入的图像数据的维度不完全一样(数据集图像大小不一)。解决方法: transforms.Compose([ transforms.RandomResizedCrop(224),# 随机裁剪])原因:输入的图像数据的原创 2020-05-22 11:44:45 · 682 阅读 · 0 评论 -
OSError: symbolic link privilege not held解决方法
OSError: symbolic link privilege not held解决方法:以管理员的身份再次打开这个软件。原创 2020-05-18 09:47:25 · 3887 阅读 · 0 评论 -
ImportError: No module named 'tensorflow'问题解决
环境:Win10下用Anaconda安装TensorFlow解决方法地址:https://blog.csdn.net/zinkin14/article/details/79235314转载 2019-03-26 17:05:25 · 10874 阅读 · 1 评论