随笔分类 - Python
Python zone
摘要:来自:https://github.com/IntelRealSense/librealsense/issues/1231 import pyrealsense2 as rs pipeline = rs.pipeline() pipe_profile = pipeline.start() frame
阅读全文
摘要:(AlphaPose20180911) luo@luo-ThinkPad-W540:AlphaPose$ ./run.sh --indir examples/demo/ --outdir examples/results/ --vis0generating bbox from Faster RCNN
阅读全文
摘要:luo@luo-ThinkPad-W540:~$ luo@luo-ThinkPad-W540:~$ luo@luo-ThinkPad-W540:~$ luo@luo-ThinkPad-W540:~$ sudo apt install libreadline-devReading package li
阅读全文
摘要:#os.chdir("/deepmatching")os.chdir(os.path.dirname(os.path.abspath("deepmatching1"))) (AlphaPose20180911) luo@luo-ThinkPad-W540:PoseFlow$ (AlphaPose20
阅读全文
摘要:参考: https://blog.csdn.net/heiheiya/article/details/81111932 https://blog.csdn.net/c20081052/article/details/80745969 打开 model.py,找到load_weights 函数,大概在
阅读全文
摘要:html1="""<!DOCTYPE html><html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head> <meta charset="utf-8" /> <title>我的第一个网页</title> <meta name="genera
阅读全文
摘要:1、使用conda创建环境 conda create --name caffe2env python=3.6 success ## To activate this environment, use(激活坏境)#conda activate caffe2env## To deactivate an
阅读全文
摘要:一、安装Anaconda3 1、下载 下载地址:https://www.continuum.io/downloads 2、安装 在文件目录下执行:bash Anaconda3-4.2.0-Linux-x86_64.sh 回车键继续 阅读完注册信息后,这里输入“yes” 选择加入环境变量,这里输入“y
阅读全文
摘要:由于市面上的一些教程时间比较早,入门学习时跟随教程安装容易出现各种错误,这些错误基本都是版本不同导致的 所以,我们安装过程中一定要指出包的版本,如果你已经遇到no module named six.moves这样的错误了,不要担心,只需要重复下面的命令即可成功安装 注:这里是python2.7 su
阅读全文
摘要:1、安装Anaconda 下载 官方下载地址:https://www.continuum.io/downloads 所有安装包地址:https://repo.continuum.io/archive/ 这里使用 Python 3.5 版本的 “Anaconda3-4.2.0-Linux-x86_64
阅读全文
摘要:有时候,我们无法找到Visual Studio Command Prompt,需要手动配置 打开 Visual studio2015,选择 "工具"—>"外部工具",点击 "添加" 这里有四个参数需要填写 初始目录可以自定义,我这里是: C:\Users\luo\AppData\Local\Prog
阅读全文
摘要:先下载pymysql文件,http://webscripts.softpedia.com/script/Database-Tools/PyMySQL-71606.html 我下载的是:PyMySQL-0.7.4.zip 然后解压:$ unzip PyMySQL-0.7.4.zip 重命名:mv Py
阅读全文
摘要:使用Python编译的时候出现如下错误:SyntaxError: Non-ASCII character ‘\xe5’ in file magentonotes.com.py on line 2, but no encoding declared; see http://www.python.org...
阅读全文