![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
工具配置说明
文章平均质量分 66
工具配置
qq_27047075
这个作者很懒,什么都没留下…
展开
-
pyinstaller 打包包含torch,torchvision,pyzbar 不成功解决方案
1 pyinstaller 对与torchvision 只能支持0.3.0以下,好像是这样,不然会出问题,我用的版本是torch1.5.1 cpu 和torchvision0.6.1cpu,打包出现比如这样的错误Traceback (most recent call last): File "Frame.py", line 7, in <module> from detect import detect_main File "<frozen importlib..原创 2020-07-27 00:32:45 · 3413 阅读 · 0 评论 -
yolov3 训练时如何配置工作环境
运行这个代码要安装一些包numpy == 1.17opencv-python >= 4.1torch >= 1.5matplotlibpycocotoolstqdmpillowtensorboard >= 1.141数据准备1.1 打标签使用labelimg 进行标签的生成,图片不要有中文路径和名称,打完标签时xml文件主要是执行这个软件的命令 python labelimg.py2 将图片放到JEPGimg文件夹下,images里也要一份3 将.原创 2020-07-19 16:47:15 · 274 阅读 · 0 评论 -
Pyinstaller 打包以及pipenv 虚拟环境应用,以及打包出来程序太大的解决办法
直接在基本环境中使用Pyinstaller将pyinstaller 打包成exe, 打包出来的exe会非常大,最好用pipenv创建一个虚拟环境。在虚拟环境中安装你写的python程序需要的各种包,记得还要安装pyinstaller安装好pipinstaller后pipenv install 创建一个新环境pipenv shell 进入虚拟环境pip install 各种包pip install pyinstaller 这个也要啊。特别注意,如果导入了numpy 这种包,原创 2020-07-05 17:15:17 · 818 阅读 · 6 评论 -
struts2 项目格式
web.xml在webINF文件夹下,不是libHelloworldaction.javapackage cn;public class HelloWorldAction { private String name; public String execute() throws Exception { return "success"; } public String getName(){ return name; } public void setName(...原创 2020-05-10 08:48:49 · 139 阅读 · 0 评论 -
matplotlib 坐标轴区间设置,网格显示,颜色表,图标表
坐标轴区间>>> import matplotlib.pyplot as plt >>> x=np.arange(-5,5,0.01) >>> y=x**3 >>> plt.axis([-6,6,-10,10]) [-6, 6, -10, 10] >>> plt.plot(x,y) ...原创 2020-03-06 23:08:43 · 975 阅读 · 0 评论 -
配置tensorflow
安装tensorflow安装环境pip install tensorflow=2.0.0如果不行,更换镜像地址conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/conda config --add channels https://mirrors.tuna.tsi...原创 2020-03-03 19:33:07 · 78 阅读 · 0 评论 -
控制台切换,编辑vim,转码window-liunx处理换行不一样,用户切换
tty控制台终端tty1-tty6tty1既是图形界面(默认)图形界面切换到字符界面终端:ctrl + shift + alt + F2~F6字符界面切花到图形界面终端:alt + F1pts虚拟终端ctrl + alt + t 打开新终端查看系统和BIOS硬件时间:指的是bios时间shutdown -h now #马上关机shutdown -h +10 #10分钟后关...原创 2020-02-02 23:52:31 · 122 阅读 · 0 评论 -
tar,pstree进程信息,线程挂起,top,合并文件,统计单词,date,cp显示覆盖信息
tartar -cf xxx.tar file1 file2 打包file1 file2 到tartar -tvf 查看压缩包里文件tar -xf xxx.tar 解压如果要解压到特定文件夹tar -xf xxx.tar -C 路径tar -rvf file.tar.bz2 file2.txt添加文件到压缩包里tar -xvf file.tar.bz2 file2.txt解压特...原创 2020-02-03 00:07:52 · 141 阅读 · 0 评论 -
ubuntu搭建简单http代理服务器 TinyProxy
step1安装tinyproxy包sudo apt-get updatesudo apt-get install tinyproxy配置文件在 /etc/tinyproxy.conf还有可能在/etc/tinyproxy/tinyproxy.conf找一找Port 8888 #预设是8888 Port,你可以更改Allow 127.0.0.1 #将127.0.0.1...原创 2020-02-04 01:01:12 · 6280 阅读 · 0 评论 -
ubuntu jupyter 配置 后台运行,和结束,nohup 后台运行 curl -X
jupyter 可以安装Anaconda一起安装如果要远程登录的话要配置文件step1生成密钥jupyter notebook --generate-config打开python输入from notebook.auth import passwdpasswd()会得到一个密钥,复制它修改文件jupyter_notebook_config.pyc.No...原创 2020-02-04 01:27:36 · 2391 阅读 · 0 评论