上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 76 下一页
摘要: 找到适合的正确的驱动 去nvidia驱动官网下载 卸载掉原有驱动 sudo apt-get remove –purge nvidia* 安装驱动 进入命令行界面 Ctrl-Alt+F1 给驱动run文件赋予执行权限 sudo chmod a+x NVIDIA-Linux-x86_64-375.20. 阅读全文
posted @ 2017-04-24 13:54 ahuo 阅读(2376) 评论(0) 推荐(0) 编辑
摘要: import sys import os sys.path.append('/usr/local/lib/python2.7/site-packages') sys.path.append('/usr/lib/python2.7/dist-packages') import matplotlib.pyplot as plt import cv2 def resizeimg(filename):... 阅读全文
posted @ 2017-03-23 16:39 ahuo 阅读(2956) 评论(0) 推荐(0) 编辑
摘要: import sys sys.path.append('/usr/local/lib/python2.7/site-packages') sys.path.append('/usr/lib/python2.7/dist-packages') import matplotlib.pyplot as plt import argparse import utils import cv2 import... 阅读全文
posted @ 2017-03-21 09:39 ahuo 阅读(4731) 评论(0) 推荐(0) 编辑
摘要: 1) The kernel is V4L2 enabled, e.g.,CONFIG_VIDEO_DEV=yCONFIG_VIDEO_V4L2_COMMON=yCONFIG_VIDEO_MEDIA=yCONFIG_USB_VIDEO_CLASS=yCONFIG_V4L_USB_DRIVERS=yCO 阅读全文
posted @ 2017-03-08 23:24 ahuo 阅读(332) 评论(0) 推荐(0) 编辑
摘要: HTTP 599: SSL certificate problem错误的解决方法 self.crawl(url, callback=self.index_page, validate_cert=False) 阅读全文
posted @ 2017-02-21 15:45 ahuo 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 参数带 / $this->assign('imgsrc',urldecode($_GET['imgsrc'])); $this->redirect('index',array('imgsrc'=>urlencode($imgsrc)), 2, '页面跳转中...'); if标签,非空判断 <if c 阅读全文
posted @ 2017-02-10 11:07 ahuo 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 根据文件名 更新外键ID UPDATE tb_obj INNER JOIN tb_img ON tb_img.filename=tb_obj.filename SET tb_objinfo.imgid = tb_imginfo.id; 关联删除 DELETE tb_sce FROM tb_sce,t 阅读全文
posted @ 2017-02-03 17:02 ahuo 阅读(397) 评论(0) 推荐(0) 编辑
摘要: apache2sudo apt-get install apache2 phpsudo apt-get install libapache2-mod-php5 php5 php5-gd php5-mysqlsudo /etc/init.d/apache2 restart mysqlsudo apt- 阅读全文
posted @ 2017-01-31 21:32 ahuo 阅读(248) 评论(0) 推荐(0) 编辑
摘要: import osll=os.listdir(".")c=0for f in ll: c=c+1 os.rename(f,str(c)+".jpg") 阅读全文
posted @ 2017-01-19 14:18 ahuo 阅读(307) 评论(0) 推荐(0) 编辑
摘要: rename 's/abc/xyz/' * 把包含abc的文件名,替换为xyz 阅读全文
posted @ 2017-01-17 13:37 ahuo 阅读(406) 评论(0) 推荐(0) 编辑
摘要: plt.figure(figsize=(64,64)) 每次都有创建新的,否则会覆盖 plt.subplot(121) plt.imshow(img,'gray') plt.title('original') 阅读全文
posted @ 2017-01-17 10:24 ahuo 阅读(831) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*-"""Created on Mon Mar 7 10:53:40 2016 @author: root"""import urllib2import sslfrom selenium import webdriver sel=webdriver.Fire 阅读全文
posted @ 2017-01-16 12:59 ahuo 阅读(280) 评论(1) 推荐(0) 编辑
摘要: PAM(Pluggable Authentication Modules )是由Sun提出的一种认证机制。它通过提供一些动态链接库和一套统一的API,将系统提供的服务 和该服务的认证方式分开,使得系统管理员可以灵活地根据需要给不同的服务配置不同的认证方式而无需更改服务程序,同时也便于向系 统中添加新 阅读全文
posted @ 2017-01-03 12:19 ahuo 阅读(972) 评论(0) 推荐(0) 编辑
摘要: 1.物理机安装显卡驱动 2.安装nvidia-docker wget -P /tmp https://github.com/NVIDIA/nvidia-docker/releases/download/v1.0.0-rc.3/nvidia-docker_1.0.0.rc.3-1_amd64.debs 阅读全文
posted @ 2016-12-20 10:07 ahuo 阅读(3097) 评论(1) 推荐(0) 编辑
摘要: apt-get install pciutils 阅读全文
posted @ 2016-12-15 17:23 ahuo 阅读(600) 评论(0) 推荐(0) 编辑
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 76 下一页