摘要:
1)比较新的cuDNN,使用命令: cat /usr/include/cudnn.h | grep CUDNN_MAJOR -A 2 2)比较旧的cuDNN,使用命令: cat /usr/local/cuda/include/cudnn.h | grep CU... 阅读全文
posted @ 2022-11-13 22:36
dlhl
阅读(795)
评论(0)
推荐(0)
摘要:
Fermi (CUDA 3.2 until CUDA 8) (deprecated from CUDA 9): SM20 or SM_20, compute_30 – Older cards such as GeForce 400, 500, 600, G... 阅读全文
posted @ 2022-11-13 22:36
dlhl
阅读(1277)
评论(0)
推荐(0)
摘要:
安装命令行如下: sudo apt update && sudo apt upgrade sudo apt install python-numpy python-scipy python-matplotlib ipython ipython-notebook... 阅读全文
posted @ 2022-11-13 22:36
dlhl
阅读(103)
评论(0)
推荐(0)
摘要:
在用python写lmdb文件时出现了报错信息"Won't implicitly convert Unicode to bytes; use .encode() 原报错代码: def writeCache(env, cache): with env.be... 阅读全文
posted @ 2022-11-13 22:36
dlhl
阅读(85)
评论(0)
推荐(0)
摘要:
写入的数据超出默认值,解决方法: env = lmdb.open('image_lmdb', map_size=int(1e9))#max_size为1e9kb,大小可调整 扫码关注 实用AI客栈 获取最新AI资讯与实战案例 小编微信号 : langu86 ... 阅读全文
posted @ 2022-11-13 22:36
dlhl
阅读(612)
评论(0)
推荐(0)
摘要:
import cv2import numpy as npimg=cv2.imread('test.jpg')pts = np.array([[10,5],[20,30],[70,20],[50,10]], np.int32)pts = pts.reshape(... 阅读全文
posted @ 2022-11-13 22:36
dlhl
阅读(37)
评论(0)
推荐(0)
摘要:
虽然Python简洁方便、深得人心,但用Python去实现(pip install无法解决时)某种处理大数据的算法,往往令人头疼。Python实现的代码往往是低效的,这时候需要C/C++来拯救。 本文介绍一种在Python中使用C/C++的方法。 首先,您需要... 阅读全文
posted @ 2022-11-13 22:36
dlhl
阅读(145)
评论(0)
推荐(0)
摘要:
在编译cocoapi时出现了 pycocotools/_mask.c:547:21: fatal error: maskApi.h: No such file or directory 的错误提示,原因在于新的环境里面没有安装cython。 解决办法: sud... 阅读全文
posted @ 2022-11-13 22:36
dlhl
阅读(269)
评论(0)
推荐(0)
摘要:
在编译cocoAPI时,出现"module 'numpy' has no attribute 'get_include'" 解决方法:卸载旧版本的numpy,安装最新的numpy sudo pip3 uninstall numpy sudo pip3 inst... 阅读全文
posted @ 2022-11-13 22:36
dlhl
阅读(197)
评论(0)
推荐(0)
摘要:
1.有好的IDE,建立符号表 2.能够调试 3.阅读文档和API 4.看commit和前期规模不大时的文档 5.根据某一个需求,一直调试下去 阅读全文
posted @ 2022-11-13 22:36
dlhl
阅读(35)
评论(0)
推荐(0)

浙公网安备 33010602011771号