随笔分类 - 报错记录
各种错误及解决方案记录
摘要:self.conv1 = nn.Conv1d(in_channels=self.input_channel, out_channels=num_filters, kernel_size=3, stride=1,padding='valid')不支持valid,same去掉可以转换
阅读全文
Could not load library cudnn_cnn_infer64_8.dll. Error code 126 Please make sure cudnn_cnn_infer64_8.
摘要:Could not load library cudnn_cnn_infer64_8.dll. Error code 126 Please make sure cudnn_cnn_infer64_8.
阅读全文
onnx转ncnn报错Shape not supported yet! Gather not supported yet # axis=0 Unsupported unsqueeze axes ! U
摘要:# 在将pt模型转为onnx之后,将onnx转成ncnn./onnx2ncnn ~/projects/pytorch-classification/mobilenet.onnx mobilenet.param mobilenet.bin # 如果网络结构中用到了reshape或者view,可能会报以
阅读全文
摘要:window10下pytorch解决不能使用多进程问题
阅读全文
摘要:Linux系统安装shapely报错:OSError: Could not find library geos_c or load any of its variants ['libgeos_c.so.1', 'libgeos_c.so']解决办法
阅读全文
摘要:gpg: 找不到有效的 OpenPGP‘ & ‘E: 无法定位软件包 nvidia-docker2‘
阅读全文
摘要:python的"\ufeff"当我们读取的文件或者写入文件时有时候会出现"\ufeff"非法字符,这个时候需要改变编码方式‘UTF-8‘为‘UTF-8-sig‘:"UTF-8"的字节顺序在所有系统中都是一样的,没有字节序的问题,它不需要BOM(“ByteOrder Mark”)。"UTF-8-sig
阅读全文
摘要:首先,这是因为版本对应出了问题。所以,安装相应cuda,cudann和tensorflow等时一定一定要提前确定好版本,不要使用默认版本。 有时可以用以下命令解决 sudo ldconfig /usr/local/cuda-10.0/lib64
阅读全文
摘要:参考一 参考二 解决:导入 keras.backend.clear_session() Ubuntu+gup环境解决:将detect_image函数中sess.run中K.learning_phase(): 0注释掉
阅读全文
摘要:Linux命令行使用matplotlib,报错_tkinter.TclError: no display name and no $DISPLAY environment variable问题解决
阅读全文
摘要:解决方案:h5py版本过高,执行 pip install h5py==2.10.0For me the solution was downgrading the h5py package (in my case to 2.10.0), apparently putting back only Ker
阅读全文
摘要:ValueError: not enough values to unpack (expected 3, got 2)
阅读全文
摘要:AttributeError: module 'yaml' has no attribute 'FullLoader'
阅读全文
摘要:是因为我写的命令为 python setup.py 实际改为 python setup.py install 即可。
阅读全文
摘要:因为cuda的路径可能设置错了 sudo ldconfig /usr/local/cuda/lib64
阅读全文
摘要:TypeError: img should be PIL Image.Got class ‘numpy.ndarray’
阅读全文
摘要:ImportError: cannot import name 'Optional'
阅读全文
摘要:Pytorch出现RuntimeError: Input type (torch.cuda.FloatTensor) and weight type (torch.FloatTensor)
阅读全文
摘要:错误:AttributeError: module 'enum' has no attribute 'IntFlag'
阅读全文
摘要:pip install pyyaml
阅读全文