注意:笔者未能在Ubuntu18.04 64bit下成功从源码编译cpu版本的tensorflow Ans: 1.You are likely running out of memory. Try reducing number of parallel builds by passing '--local_resources 2048,.5,1.0', which would instruct bazel to spawn no more than one compiler process at…
一. 安装snapd sudo apt-get install snapd 二. 安装adb sudo apt-get install adb 三. 安装必要的内核模块 wget https://launchpadlibrarian.net/386450337/anbox-modules-dkms_13_all.deb sudo dpkg -i anbox-modules-dkms sudo modprobe ashmem_linux sudo modprobe binder_linux 四.…
1.获取脚本来使能增强模式 $ sudo apt-get update $ sudo apt install git $ git clone https://github.com/jterry75/xrdp-init.git $ cd xrdp-init/ubuntu/18.04/ 2.使脚本具有可执行权限 chmod u+x install.sh 3.执行脚本 $sudo ./install.sh 4.关闭ubuntu虚拟机 shutdown now 5.在宿主机中以管理员权限启动powers…
注:笔者的ubuntu18.04 64bit已经安装好了显卡驱动,因此没有此步操作 1.获取cuda(https://developer.nvidia.com/cuda-downloads,选择ubuntu相关的runfile,cuda_9.0.176_384.81_linux.run) 2.安装cuda sudo apt-get install gcc-6 g++-6 (cuda 9仅支持gcc-6,而ubuntu18.04 64bit默认版本为gcc-7.3.0) cd /usr/bin s…
1,install dependencies sudo apt-get install openjdk-8-jdk git python-dev python3-dev python-numpy python3-numpy build-essential python-pip python3-pip python-virtualenv swig python-wheel libcurl3-dev curl unzip bash-completion 2.get bazel wget https:…
Ans:pip install tensorflow (note:  version number of pip and python must be  consistent)…
1. 准备工作 1.1 安装gcc 7.x版本 sudo apt-get install gcc-7 -y 1.2 安装依赖的库及其工具 sudo apt install build-essential cmake cmake-data debhelper dbus google-mock \ libboost-dev libboost-filesystem-dev libboost-log-dev libboost-iostreams-dev \ libboost-program-option…
1.获取 wget http://mirrors.163.com/kernel/v4.x/linux-4.15.13.tar.gz 2.解压 tar xvf linux-4.15.13.tar.gz cd linux-4.15.13 3.获取配置 cp /boot/config-4.15.0-generic .config 4.配置 make menuconfig 5.编译 make -j10 V=s 6.安装 sudo make modules_install sudo make instal…
一.背景 1.1 笔者的机器有两张声卡,使用aplay -l可以列举出来,一张是内置声卡,另一张是显卡自带的声卡,说明声卡驱动是ok的 1.2 笔者是在浏览器中播放视频无声音 二.尝试 2.1 尝试使用vlc播放器播放本地视频,发现在vlc的Audio->Audio Device中有两个设备,因此依次选择 发现选中显卡自带的声卡有声音,但是选中内置声卡并没有声音输出 2.2 尝试插入耳机 插入耳机后耳机能够输出声音了 2.3 尝试使用浏览器播放视频 发现插入耳机后有声音输出,说明浏览器默认使用内…
1.执行一下命令进行安装 sudo apt-get install python3-distutils wget https://bootstrap.pypa.io/get-pip.py sudo python3 get-pip.py sudo python3 -m pip install jupyter sudo apt-get install jupyter 2.如何启动jupyter? jupyter notebook 3.如何登陆jupyter? 登陆地址为:127.0.0.1:8888…