- 博客(7)
- 资源 (1)
- 收藏
- 关注
原创 AttributeError:module 'cv2.cv2' has no attribute 'DualTVL1OpticalFlow_create' 解决
搜索该问题后,很多解决答案是:pip install opencv-pythonpip install opencv-contrib-python但是我的问题还是没解决,原因是默认安装的版本太高,太高反而不支持cv中的函数,因此操作如下:第一步:卸载pip uninstall opencv-pythonpip uninstall opencv-contrib-python...
2019-03-25 10:45:53 5251 3
原创 AttributeError: module 'tensorflow' has no attribute '****'等问题解决
参考自:https://blog.csdn.net/tz_zs/article/details/78485646ubuntu16安装tensorflow后,import tensorflow成功,但一些基本的函数用不了,报错如下:AttributeError: module 'tensorflow' has no attribute 'Session'AttributeError: m...
2019-02-20 15:42:43 42377 40
原创 ubuntu安装opencv2后 ImportError: No module named cv2
安装教程参考:https://blog.csdn.net/zbzb1000/article/details/81431685import cv2 时出现问题:ModuleNotFoundError: No module named 'cv2'解决方法(亲测有效):pip install opencv-python ...
2019-01-22 16:48:30 2259 1
原创 opencv安装遇到的问题
按照百度教程安装的时候,sudo make时出错,错误如下:modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/build.make:278: recipe for target 'modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/grfmt_tiff.cpp.o' failed mak...
2019-01-13 20:15:54 2734 2
原创 C++ STL容器之vector的知识点及源码分析
vector的数据安排和array非常相似,array是静态空间,一旦配置就不能改变,如果要改变的话,首先要配置新的空间,把元素移过去,释放原来的空间。而vector模塑出个一dynamic array,随着元素加入,它的内部机制自行扩充空间(一旦vector的空间满载,内部机制会做出配置新空间、激动数据、释放旧空间的行为)。1.vector的构造和析构函数 vector c
2017-10-18 14:51:04 397
原创 [leetcode]Reverse Integer 代码(C++)
题目:Reverse digits of an integer.Example1: x = 123, return 321Example2: x = -123, return -321click to show spoilers.Note:The input is assumed to be a 32-bit signed integer. Your functio
2017-10-11 11:51:15 203
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人