Ubuntu+docker+tensorflow+opencv+tensorboard Installation

Source: Internet
Author: User
Tags wrapper docker run

CENTOS7 Installation TensorFlow 1.1. Install Centos7

51169210

2. Installing Python3

View current Python version information, command (PYTHON-V), Centos7 the default Python version is 2.7.5

Download Python3:

wget https://www.python.org/ftp/python/3.4.1/Python-3.4.1.tgz

Unzip the build installation

# tar ZXVF python-3.4.1.tgz

# CD Python-3.4.1

#./configure

# make

# make Install

This virtual machine does not require a overwrite version

To overwrite

,。 Read the document

3. Install python-pip

52984334

4. Installing TensorFlow

51169210

build Tensorflow+keras deep learning environment under CentOS 7

78606159

install Anaconda under Linux

Https://jingyan.baidu.com/article/20b68a8893ae50796cec62b4.html

Ubuntu installation

    1. Ubuntu installation

https://jingyan.baidu.com/article/3c48dd348bc005e10be358eb.html

    1. How to install TensorFlow under Ubuntu

Https://www.cnblogs.com/tsingke/p/7171270.html

    1. Ubuntu16.04 Anaconda After the installation is complete Conda: command not found

80510494

    1. 4 Installing and switching Python versions in Anaconda: 2.7~3.6

.78995472

?

    1. Install Docker
https://docs.docker.com/install/linux/docker-ce/ubuntu/ latest

Or

48492937 Learning Edition

Test with Docker-v

Test with sudo Docker run Hello-world

    1. TensorFlow Environment building based on Docker

Https://www.cnblogs.com/dyufei/p/8027764.html

Or:https://www.jb51.net/article/135441.htm

https://www.jb51.net/article/135441.htm Instructions for use

    1. Installing Docker as a self-starter service

50803028

    1. Docker + jupyter +tensorflow +OPENCV +tensorboard:

TENSORFLOW+OPENCV Combined Image:

70184543

?

Combined Image +tensorboard:

Reference:79453641

Docker run--name my-tf-1-dit-p 8888:8888-p 6006:6006 TENSORFLOW:TENSORFLOWCV!!

Open 8888 website, then will need token, return terminal input sudo docker my-tf-1 view

?

This step can be achieved by

①# tensorboard--inspect--logdir= "/notebooks/graph/dataflow" to see if you can open the file

② Check if the path to 6006 is correct

?

The following is not true and can be used for anaconda:

Combined Image +tensorboard:

Https://www.cnblogs.com/dyufei/p/8094507.html

Command:

Docker Volume Create--name Notebooks

Docker Volume Create--name logs

sudo mkdir/home/dyufei/docker/notebooks

sudo mkdir/home/dyufei/docker/logs

? ?

Ubuntu+docker+tensorflow+opencv+tensorboard Installation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.