
设计师小白的代码之路
dantamiao
一个设计学专业硕士的深度学习学习之路。
展开
-
cv2.error: OpenCV(4.5.5) :-1: error: (-5:Bad argument) in function ‘knnMatch‘
cv2.error: OpenCV(4.5.5) :-1: error: (-5:Bad argument) in function 'knnMatch'> Overload resolution failed:> - queryDescriptors is not a numpy array, neither a scalar> - Expected Ptr<cv::UMat> for argument 'queryDescriptors'> - argu...原创 2022-01-05 21:35:40 · 16610 阅读 · 1 评论 -
RuntimeError: CUDA out of memory;ValueError: Input 0 is incompatible with layer sequential
RuntimeError: CUDA out of memory. Tried to allocate 22.00 MiB (GPU 0; 6.00 GiB total capacity; 260.44 MiB already allocated; 0 bytes free; 262.00 MiB reserved in total by PyTorch)GPU 0 bytes free 看起来非常不正常用的是yolo网络,经过修改以后程度应该是先调用torch 然后还用了tensorflow在原创 2022-01-05 21:19:09 · 406 阅读 · 0 评论 -
Python:AttributeError: module ‘utils‘ has no attribute ‘centroid_histogram‘
在测试以下文章的内容时,出现了一些小问题,以下是解决的路径。(1条消息) 阿里巴巴-鹿班实验室算法实现系列——颜色识别_夜雨寒风的博客-优快云博客_颜色识别算法代码报错:AttributeError: module 'utils' has no attribute 'centroid_histogram'解决方法1:手动安装模块关于python:AttributeError: module 'xxx' has no attribute 'xxx'的错误解决_AzureL-优快云博客_at原创 2022-01-05 21:36:22 · 2846 阅读 · 0 评论