
人工智能
QQ515311445
博古通今,涵盖四海
展开
-
Python编译出pyc文件发布
1. 在源码同一目录编译出pyc文件python -m compileall -b .2. 删除__pycache__临时文件find . -name '*pycache*' -exec rm -rf {} \;3. 删除源文件find . -name '*py' -exec rm -rf {} \;...原创 2020-07-09 11:15:01 · 383 阅读 · 0 评论 -
Ubuntu16.04 tensorflow物体检测
1. 安装tensorflow, python等,再安装以下工具apt-get install protobuf-compiler python-pil python-lxmlpip install jupyterpip install matplotlib2. 安装protobufgit clone https://github.com/protocolbuffers/pro...原创 2019-01-22 15:00:55 · 585 阅读 · 0 评论 -
Ubuntu16.04 图片标注工具LabelImg使用
一. 安装apt-get install pyqt5-dev-toolsgit clone https://github.com/tzutalin/labelImg.gitcd labelImgpip3 install -r requirements/requirements-linux-python3.txtmake qt5py3二. 使用1. 打开data/predefi...原创 2019-01-19 14:26:46 · 2404 阅读 · 0 评论 -
Ubuntu16.04 Tensorflow的pb模型转tflite模型
1. 下载tensorflow源码git clone https://github.com/tensorflow/tensorflow2. 安装bazelapt-get install openjdk-8-jdkecho "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo ...原创 2020-07-09 10:59:54 · 271 阅读 · 0 评论 -
Ubuntu16.04 使用TensorFlow Hub重新划分图像分类器
1. 安装Tensorflow Hubpip install "tensorflow>=1.7.0"pip install tensorflow-hub2.获取花卉照片集curl -LO http://download.tensorflow.org/example_images/flower_photos.tgztar xzf flower_photos.tgz3....原创 2018-12-29 17:53:06 · 223 阅读 · 0 评论 -
Ubuntu16.04安装Bazel
apt-get install openjdk-8-jdkecho "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.listcurl https://bazel.build/bazel-release.pub.gp...原创 2019-07-19 11:46:34 · 258 阅读 · 0 评论 -
Ubuntu16.04安装CUDA、cuDNN以及tensorflow-gpu
1. sh NVIDIA-Linux-x86_64-410.73.run #或者系统设置里面直接选英伟达的驱动 reboot nvidia-smi #检查驱动是否生效2. sh Anaconda3-5.3.0-Linux-x86_64.sh #https://www.anaconda.com/download/#linux source ~/.bashrc 3. sh...原创 2020-07-09 11:01:04 · 230 阅读 · 0 评论 -
Ubuntu16.04安装cudnn
The NVIDIA CUDA® Deep Neural Network library (cuDNN) is a GPU-accelerated library of primitives fordeep neural networks. cuDNN provides highly tuned implementations for standard routines such as forw...原创 2020-07-09 11:07:06 · 234 阅读 · 0 评论 -
Ubuntu16.04下安装Anaconda
Anaconda指的是一个开源的Python发行版本,其包含了conda、Python等180多个科学包及其依赖项1. 下载:https://www.anaconda.com/download/#linux2. 安装: shAnaconda3-5.3.0-Linux-x86_64.sh Do you accept the license terms? [yes|no] [...原创 2020-07-09 11:07:34 · 217 阅读 · 0 评论 -
Ubuntu16.04安装配置
1. 通过Universal-USB-Installer-1.9.6.1把Ubuntu16.04的镜像文件做成U盘安装2. sudo apt-get install vim3. sudo vim/usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf greeter-show-manual-login=true allow-gues...原创 2020-07-09 11:02:11 · 234 阅读 · 0 评论