
bug处理
文章平均质量分 82
圆滚熊
拨开乌云见晴天。。。
展开
-
ffmpeg 截取切割视频报错
Header missingError while decoding stream #0:1: Invalid data found when processing inputError setting option time_base to value 1/0.Error applying options to the filter.Error reinitializing filters!Value inf for parameter 'time_base' out of range原创 2022-06-30 12:02:14 · 6532 阅读 · 0 评论 -
ERROR: cuda_runtime_api.h: No such file or directory
环境Ubuntu 16.04Anacondacuda10.1cudnn7.6.4SOLOv2bug在配置solov2时报错:mmdet/ops/utils/src/compiling_info.cpp:3:10: fatal error: cuda_runtime_api.h: No such file or directory#include <cuda_runtime_api.h>^~~~~~~~~~~~~~~~~~~~compilation terminated.原创 2021-02-28 22:15:03 · 8361 阅读 · 4 评论 -
AttributeError: Can‘t get attribute ‘Identity‘ on <module ‘efficientnet_pytorch.utils‘
环境:ubuntu16.04python3.7cuda == 10.1pytorch在用efficientnet_pytorch时,出现了如下报错:Traceback (most recent call last):File “model_test.py”, line 79, in test(model_path,img_path,out_path)File “model_test.py”, line 48, in testmodel = torch.load(model_save_原创 2020-09-25 18:44:59 · 947 阅读 · 0 评论 -
net = cv2.dnn.readNet(args["model"]) cv2.error: OpenCV(3.4.2) C:\Miniconda3\conda-bld\opencv-suite
问题:之前用conda 安装的OpenCV:使用OPenCV的dnn模块报错:net = cv2.dnn.readNet(args[“model”])cv2.error: OpenCV(3.4.2) C:\Miniconda3\conda-bld\opencv-suite_1534379934306\work\modules\dnn\src\dnn.cpp:3044: error: (...原创 2020-03-15 10:46:49 · 14378 阅读 · 1 评论 -
Ubuntu安装cuda10.1 opencv报错:fatal error: dynlink_nvcuvid.h: No such file or directory
在Ubuntu16.04上安装opencv3.4.0时, 编译出错,"fatal error: dynlink_nvcuvid.h: No such file or directory compilation terminated"解决办法:关闭 CMake 配置中的 BUILD_opencv_cudacodec 标签。重新编译具体方法步骤请参看:https://blog....原创 2019-11-12 21:16:21 · 2566 阅读 · 0 评论 -
Ubuntu遇到 cv2.imshow() 报错处理
1.报错问题: cv2.imshow("img01", image)cv2.error: OpenCV(3.4.2) /tmp/build/80754af9/opencv-suite_1535558553474/work/modules/highgui/src/window.cpp:632: error: (-2:Unspecified error) The function is n...原创 2019-10-24 22:53:45 · 3885 阅读 · 4 评论 -
没有与参数列表匹配的构造函数实例
项目中出现以下错误:C2664 “int CComboBox::InsertString(int,LPCTSTR)”: 无法将参数 2 从“const char [13]”转换为“LPCTSTR” ;C2440 “<function-style-cast>”: 无法从“CString”转换为“ATL::CA2W” ;没有与参数列表匹配的构造函数 "ATL:...原创 2019-08-07 16:00:43 · 13968 阅读 · 3 评论 -
ImportError: Could not import PIL.Image. The use of `array_to_img` requires PIL.Image
在用keras的 load_img()加载图片时出现ImportError: Could not import PIL.Image. The use of array_to_img requires PIL.Image解决办法:pip3 install pillow原创 2019-08-29 17:12:46 · 7946 阅读 · 10 评论 -
AttributeError: module 'cv2.cv2' has no attribute 'accumlateWeighted'
环境是:Python 3.6opencv-python-3.4.4.19缺少了一个安装包解决办法:1.补一个包 opencv-contrib-pythonpip3 install opencv-contrib-pythonCollecting opencv-contrib-pythonDownloading https://pypi.tuna.tsinghua.edu.cn/pa...原创 2019-09-12 14:50:14 · 645 阅读 · 1 评论