会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
0
刘亚蕾
博客园
首页
新随笔
联系
订阅
管理
2020年11月25日
python 迭代器和生成器
摘要: 迭代器 可以用在for语句进行循环的对象就是可迭代对象。通过for语句一次循环取出每一个元素,这种容器就是迭代器。除了用for,迭代器还可以通过next()方法逐一读取下一个元素。 为容器对象添加__next__()和__iter__()方法。 __iter__()返回迭代器对象本身,__next_
阅读全文
posted @ 2020-11-25 18:56 amazingcode
阅读(101)
评论(0)
推荐(0)
2020年11月13日
recipe for target 'obj/convolutional_kernels.o' failed
摘要: xdq:darknet xindq$cmake /bin/sh: 1: nvcc: not found Makefile:88: recipe for target 'obj/convolutional_kernels.o' failed make: *** [obj/convolutional_k
阅读全文
posted @ 2020-11-13 15:20 amazingcode
阅读(1122)
评论(0)
推荐(0)
[ 62%] Built target opencv_dnn Makefile:162: recipe for target 'all' failed解决办法
摘要: sudo su下进行make操作
阅读全文
posted @ 2020-11-13 15:02 amazingcode
阅读(4338)
评论(0)
推荐(1)
cuda
摘要: cuda安装包:https://developer.nvidia.com/cuda-toolkit-archive
阅读全文
posted @ 2020-11-13 09:26 amazingcode
阅读(67)
评论(0)
推荐(0)
2020年11月12日
libopencv_highgui.so.2.4.9:对‘TIFFReadRGBAStrip@LIBTIFF_4.0’未定义的引用
摘要: make之前加上sudo su重新make即可
阅读全文
posted @ 2020-11-12 13:40 amazingcode
阅读(156)
评论(0)
推荐(0)
CMake Error at CMakeLists.txt:11
摘要: cmake 安装https://cmake.org/files/v3.15/ sudo apt-get install build-essential wget http://www.cmake.org/files/v3.5/cmake-3.5.2.tar.gz tar xf cmake-3.5.2
阅读全文
posted @ 2020-11-12 09:54 amazingcode
阅读(3728)
评论(0)
推荐(0)
2020年10月30日
使用linux命令调整图片大小、格式等
摘要: 转自:https://my.oschina.net/letiantian/blog/352086 mogrify 修改图片的大小 mogrify -resize 800X600 file.jpg file.jpg将被调整到800*600的大小。注意,如果原始图片的大小是1200*900,那么图片不能
阅读全文
posted @ 2020-10-30 20:57 amazingcode
阅读(1922)
评论(0)
推荐(0)
2020年10月18日
ssh配置无密码登陆
摘要: https://www.linuxdashen.com/ssh-key%EF%BC%9A%E4%B8%A4%E4%B8%AA%E7%AE%80%E5%8D%95%E6%AD%A5%E9%AA%A4%E5%AE%9E%E7%8E%B0ssh%E6%97%A0%E5%AF%86%E7%A0%81%E7%
阅读全文
posted @ 2020-10-18 20:43 amazingcode
阅读(57)
评论(0)
推荐(0)
2020年9月30日
scp拷贝至服务器被拒
摘要: 确认远程服务器有安装ssh服务器 端口号若和服务器的不一致,可能会被服务器的防火墙拒绝,一般本机默认端口号为22 查看服务器的端口号 scp后加-P 端口号 scp -P 8000 -r filename name@host
阅读全文
posted @ 2020-09-30 10:01 amazingcode
阅读(545)
评论(0)
推荐(0)
2020年9月26日
Ubuntu一打开pycharm就卡死解决办法
摘要: 将搜狗输入法卸载,并将语言支持里的键盘输入法系统设置为IBus
阅读全文
posted @ 2020-09-26 16:37 amazingcode
阅读(3097)
评论(0)
推荐(0)
下一页
公告