![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
bug
解决bug中遇到的各种问题
joyce_peng
哈哈哈哈
展开
-
登录github.com报错
打开github报错原创 2023-01-19 20:28:51 · 49 阅读 · 0 评论 -
/home/mobaxterm/anaconda3/conda.exe: cannot execute binary file
conda安装报错原创 2022-12-28 14:47:27 · 835 阅读 · 1 评论 -
brew报错: Git must be installed and in your PATH
Mac os的brew报错解决原创 2022-01-23 20:57:07 · 4950 阅读 · 0 评论 -
Pytorch自定义Dataset和DataLoader去除不存在和空的数据,batch中存在none
报错信息:‘NoneType’ object has no attribute ‘numel’或 TypeError: batch must contain tensors, numbers, dicts or lists; found <class ‘NoneType’>不同版本报错信息不同,原因是一样的版本python3.6pytorch 1.4.0torchvision 0.2.1原因:batch中含有none数据。测试时,将url获取写在了自定义dataloader中,ur原创 2020-06-05 15:50:20 · 4303 阅读 · 3 评论 -
Found GPU0 TITAN V which requires CUDA_VERSION >= 9000 for optimal performance and fast startup time
问题:Found GPU0 TITAN V which requires CUDA_VERSION >= 9000 for optimal performance and fast startup time我需要安装pytorch0.3.1,但是cuda9.0的,但是conda安装的pytorch0.3.1自带cuda为8.0,所以只能指定安装老版本参考以下链接:https://pto...原创 2020-04-21 16:39:27 · 2259 阅读 · 0 评论 -
scikit-image-0.14 resize新增参数anti_aliasing
在跑代码的时候发现有的图片label不对,后来发现是因为scikit-image 0.14版本以上的resize会多一个参数anti_aliasing,并自动设为true,而0.13之前的版本为false,再经过rename之后图片就会完全变掉。scikit-image 0.14 resizescikit-image 0.13 resize解决办法一:将anti_aliasing参数设为Fa...原创 2019-09-26 10:21:42 · 1278 阅读 · 0 评论 -
ReadTimeoutError: HTTPSConnectionPool(host='pypi.tuna.tsinghua.edu.cn', port=443): Read timed out.
问题:安装tensorflow时报错ReadTimeoutError: HTTPSConnectionPool(host=‘pypi.tuna.tsinghua.edu.cn’, port=443): Read timed out.原因:pip超时解决办法:pip --default-timeout=100 install numpypip install tensorflow参考链...原创 2019-09-26 10:24:44 · 14141 阅读 · 2 评论 -
【colab】unzip数据集不完整/出错/时间过长
使用google colab的时候,使用解压命令unzip xxx.zip时,log中显示我已经unzip成功,但是对应文件夹里没有操作记录及文件。尝试解决1: 修改路径名为英文,未解决问题尝试解决2:我在drive下unzip的,将zip文件mv到/content下在unzip,之后将文件mv到对应文件夹下,解决问题!!并且,在/content下解压文件特别快,drive下两个多小时的解压这...原创 2019-10-07 22:12:08 · 5430 阅读 · 7 评论