摘要: 一句命令: sudo apt-get install apache2 产生的启动和停止文件是:/etc/init.d/apache2 启动:sudo apache2ctl -k start 停止:sudo apache2ctl -k stop 重新启动:sudo apache2ctl -k rest 阅读全文
posted @ 2020-08-05 21:30 Montai 阅读(655) 评论(0) 推荐(0) 编辑
摘要: 语言大概分为解释性语言和编译型语言, 解释型语言大概就是指程序执行的时候,执行一句,翻译一句给机器编译型语言大概为在程序运行之前,预编译翻译为机器语言java和python是属于中间的那种,先将程序预编译为一种人类语言与机器语言之间的语言,当运行的时候再继续编译所以java有一个javac hell 阅读全文
posted @ 2020-08-05 15:24 Montai 阅读(501) 评论(0) 推荐(0) 编辑
摘要: 1 2 root@ubuntu:/home/ubuntu# lspci |grep -i vga 02:00.0 VGA compatible controller: NVIDIA Corporation GM200 [GeForce GTX TITAN X] (rev a1) 显示当前GPU使用情 阅读全文
posted @ 2020-08-05 14:15 Montai 阅读(654) 评论(0) 推荐(0) 编辑
摘要: 在命令环境下运行如下命令: apt-get update //更新软件库 apt-get upgrade //升级软件 apt-get install ubuntu-desktop //安装Ubuntu桌面系统 安装时间有点长,需要耐心等待。 reboot重启后发现桌面环境不能使用root账户登录. 阅读全文
posted @ 2020-08-05 14:12 Montai 阅读(403) 评论(0) 推荐(0) 编辑
摘要: 主要介绍在 Ubuntu 14.04中安装 Anaconda3 的详细过程。 下载 官方下载地址:https://www.continuum.io/downloads所有安装包地址:https://repo.continuum.io/archive/这里使用 Python 3.5 版本的 “Anac 阅读全文
posted @ 2020-08-05 14:10 Montai 阅读(3122) 评论(0) 推荐(0) 编辑
摘要: 不要使用python2 安装, 不要使用python2 安装,不要使用python2 安装, 使用清华镜像, 会快很多:pip install tensorflow==1.8 -i https://pypi.tuna.tsinghua.edu.cn/simple 使用清华镜像, 会快很多:pip i 阅读全文
posted @ 2020-08-05 14:05 Montai 阅读(602) 评论(0) 推荐(0) 编辑
摘要: 有两种解决办法: 1、忽略这个警告(用第二个): import os # os.environ["TF_CPP_MIN_LOG_LEVEL"]='1' # 这是默认的显示等级,显示所有信息 os.environ["TF_CPP_MIN_LOG_LEVEL"]='2' # 只显示 warning 和 阅读全文
posted @ 2020-08-05 09:06 Montai 阅读(363) 评论(0) 推荐(0) 编辑
摘要: CentOS查看CPU、内存、版本等系统信息 CentOS查看系统信息 一:查看CPU more /proc/cpuinfo | grep "model name" grep "model name" /proc/cpuinfo 如果觉得需要看的更加舒服 grep "model name" /pro 阅读全文
posted @ 2020-08-05 09:04 Montai 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 1.在NVIDIA官网上下载对应型号的显卡驱动离线包:链接:http://www.nvidia.cn/Download/Find.aspx?lang=cn2. 关闭图形界面去安装:命令:service lightdm stop命令:init 3验证:无报错即可3. 找到驱动离线包,并给予可安装的权限 阅读全文
posted @ 2020-08-05 09:03 Montai 阅读(242) 评论(0) 推荐(0) 编辑
摘要: TensorFlow 是一个端到端开源机器学习平台 安装 pip3 install tensorflow 使用时报错如下 2020-06-03 09:42:51.737502: W tensorflow/stream_executor/platform/default/dso_loader.cc:5 阅读全文
posted @ 2020-08-05 09:02 Montai 阅读(6568) 评论(0) 推荐(0) 编辑
摘要: https://tensorflow.google.cn/install/source#linux 阅读全文
posted @ 2020-08-05 08:42 Montai 阅读(227) 评论(0) 推荐(0) 编辑
摘要: Cannot uninstall 'enum34'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to on 阅读全文
posted @ 2020-08-05 08:39 Montai 阅读(281) 评论(0) 推荐(0) 编辑
摘要: python 有python2和python3的区别那么pip也有pip和pip3的区别大概是这样的1、pip是python的包管理工具,pip和pip3版本不同,都位于Scripts\目录下:2、如果系统中只安装了Python2,那么就只能使用pip。3、如果系统中只安装了Python3,那么既可 阅读全文
posted @ 2020-08-05 08:35 Montai 阅读(3429) 评论(0) 推荐(2) 编辑
摘要: 试了几次,均报错Memoryerror.安装步骤:1.安装pip,不会安装的请自行百度。2.安装tensorflow,直接报错。 3.如何解决:安装命令:sudo pip3 install –no-cache-dir tensorflow。验证tensorflow是否安装成功。 https://bl 阅读全文
posted @ 2020-08-05 08:33 Montai 阅读(624) 评论(0) 推荐(0) 编辑
摘要: 安装Tensorflow ,使用PIP镜像, 速度非常慢, 可以考虑使用清华的镜像: GPU版本安装方法:pip install tensorflow-gpu==1.8 -i https://pypi.tuna.tsinghua.edu.cn/simple或 CPU版本安装: pip install 阅读全文
posted @ 2020-08-05 08:31 Montai 阅读(1450) 评论(1) 推荐(0) 编辑
摘要: 最近找到一台电脑,装了centos7,所以打算装一个keras玩啊。 主要过程如下,参考博客已在文中注明: 1. 安装centos7 , 自带python2.7,但是没有pip命令 根据(https://blog.csdn.net/boooobcsdn/article/details/7996927 阅读全文
posted @ 2020-08-05 08:28 Montai 阅读(511) 评论(0) 推荐(0) 编辑
摘要: “TensorFlow在Windows上支持Python 3.5.x和3.6.x.” 因此,您无法在Windows上使用Python 2.7的tensorflow 如果您被迫使用Python 2.7,则使用虚拟机框将Linux设置为guest虚拟机。 如果您可以选择使用python 3.x(例如py 阅读全文
posted @ 2020-08-05 08:27 Montai 阅读(281) 评论(0) 推荐(0) 编辑