随笔分类 -  Ubuntu

摘要:https://blog.csdn.net/p1279030826/article/details/116311640 问题:环境:虚拟机,ubuntu18.04执行命令sudo apt-get remove --auto-remove python3.6卸载python重启之后再进系统就出问题了直 阅读全文
posted @ 2021-07-28 15:22 水木清扬 阅读(8243) 评论(0) 推荐(4)
摘要:https://blog.csdn.net/wxb880114/article/details/80926571 阅读全文
posted @ 2021-06-30 13:57 水木清扬 阅读(87) 评论(0) 推荐(0)
摘要:Linux基础命令 arch 阅读全文
posted @ 2021-04-06 16:21 水木清扬 阅读(60) 评论(0) 推荐(0)
摘要:安装Python3的命令 sudo apt-get install python3.5 1、卸载python3.4 sudo apt-get remove python3.4 2、卸载python3.4及其依赖 sudo apt-get remove --auto-remove python3.4 阅读全文
posted @ 2021-03-09 16:51 水木清扬 阅读(5051) 评论(0) 推荐(0)
摘要:终端常用命令: watch -n 0.01 nvidia-smi 实时查看显卡占用状态 conda info -e 查看conda已有环境 screen -R train_xxx 创建训练后台 Ctrl+A+D 从训练进程切换到终端 screen -r train_xxx 从终端切换到训练进程 su 阅读全文
posted @ 2021-01-25 14:03 水木清扬 阅读(117) 评论(0) 推荐(0)
摘要:linux cmake error undefined reference to symbol 'pthread_create@@GLIBC_2.2.5 在cmake脚本中增加: target_link_libraries( XXXX -lpthread -lm) XXXX为项目名字 阅读全文
posted @ 2020-10-15 11:31 水木清扬 阅读(742) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/2012-dream/p/11457357.html 自己之前没有摸过服务器,就是实体的那种,远程连接的不算。才发现,服务器也是电脑主机的形状,只是更大一号,然后服务器有自己的配套输入输出设备,显示屏和键盘触摸板,外观看起来跟笔记本类似,不过后面有接口 阅读全文
posted @ 2020-09-28 14:31 水木清扬 阅读(1004) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/lightmare/p/10398805.html https://www.pianshen.com/article/3253269696/ able of Contents 一、准备 二、开始 一、准备 Ubuntu 16.04 的 ISO文件 ht 阅读全文
posted @ 2020-09-25 17:01 水木清扬 阅读(241) 评论(0) 推荐(0)
摘要:ubuntu常见错误--Could not get lock /var/lib/dpkg/lock解决 通过终端安装程序sudo apt-get install xxx时出错: 出现这个问题可能是有另外一个程序正在运行,导致资源被锁不可用。而导致资源被锁的原因可能是上次运行安装或更新时没有正常完成, 阅读全文
posted @ 2019-06-26 09:19 水木清扬 阅读(276) 评论(0) 推荐(0)
摘要:参考博客:https://blog.csdn.net/eereere/article/details/79118645#commentBox 目录1.准备图片2. 将 图片路径写入txt 参考 这篇文章3.转换格式还是参考这篇文章 4.训练模型参考这篇参考这篇参考这篇5.测试模型看过这篇转换均值文件 阅读全文
posted @ 2018-12-11 15:27 水木清扬 阅读(488) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/wktwj/p/6715110.html 默认caffe已经编译好了,并且编译好了pycaffe 1 数据准备 首先准备训练和测试数据集,这里准备两类数据,分别放在文件夹0和文件夹1中(之所以使用0和1命名数据类别,是因为方便标注数据类别,直接用文件夹 阅读全文
posted @ 2018-12-10 16:51 水木清扬 阅读(1212) 评论(0) 推荐(0)
摘要:https://www.samontab.com/web/2017/06/installing-opencv-3-2-0-with-contrib-modules-in-ubuntu-16-04-lts/ Installing OpenCV 3.2.0 with contrib modules in 阅读全文
posted @ 2018-12-02 19:20 水木清扬 阅读(669) 评论(0) 推荐(0)
摘要:# -*- coding: utf-8 -*-import sysimport numpy as npimport structfrom PIL import Imageprint "hell word"filename = 't10k-images-idx3-ubyte'binfile = ope 阅读全文
posted @ 2018-11-30 13:15 水木清扬 阅读(173) 评论(0) 推荐(0)
摘要:mnist样本字库嘚图片转换:# coding=utf-8import numpy as npimport struct import matplotlib.pyplot as plt from PIL import Image #/home/sys/data/mnist/filename = 't 阅读全文
posted @ 2018-11-26 14:15 水木清扬 阅读(230) 评论(0) 推荐(0)
摘要:1)环境变量配置: 9 ~/.bashrcor ~/.bash_profile.sudo gedit ~/.bashrc第一种sudo vim ~/.bashrc export PYTHONPATH=~/caffe/python:$PYTHONPATH export PYTHONPATH=/home 阅读全文
posted @ 2018-11-26 11:00 水木清扬 阅读(212) 评论(0) 推荐(0)
摘要:在linux家族中,vim编辑器是系统自带的文本编辑器,其功能强大自不必说了。 偶有小白,刚接触linux,要修改某个文本文件,不可能像WINDOWS那样操作,更有甚者,进入VI编辑器后,无法退出以致强抽关机,确是不得以呀。 其实,这个VIM(VI)也是很简单的,只要你看到此文! 注意:linux命 阅读全文
posted @ 2018-11-25 14:41 水木清扬 阅读(172) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/wang15061955806/article/details/80791112 Ubuntu16.04上安装cudnn教程 2018年06月24日 14:34:24 图形码农 阅读数:3551 2018年06月24日 14:34:24 图形码农 阅读数: 阅读全文
posted @ 2018-11-23 20:28 水木清扬 阅读(317) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/QLULIBIN/article/details/78714596 前言: 本篇文章是基于安装CUDA 9.0的经验写,CUDA9.0目前支持Ubuntu16.04和Ubuntu17.04两个版本,如下图所示(最下面的安装方式我们选择第一个,即runfil 阅读全文
posted @ 2018-11-23 14:45 水木清扬 阅读(767) 评论(0) 推荐(0)
摘要:推荐博客:https://www.linuxidc.com/Linux/2017-11/148629.htmhttps://blog.csdn.net/yggaoeecs/article/details/79163789 此教程主要借鉴自:GPU版:http://www.linuxidc.com/L 阅读全文
posted @ 2018-11-23 14:17 水木清扬 阅读(1167) 评论(0) 推荐(0)