zoukankan      html  css  js  c++  java
  • tensorflow 学习记记——环境安装

    环境:centos 8.0.1905
    用jupyter huanjing

    https://tensorflow.google.cn/install/docker
    [david@localhost ~]$ sudo podman run -it -rm -p 8888:8888 tensorflow/tensorflow:1.15.2-py3-jupyter
    [sudo] david 的密码:
    
    ________                               _______________                
    ___  __/__________________________________  ____/__  /________      __
    __  /  _  _ \_  __ \_  ___/  __ \_  ___/_  /_   __  /_  __ \_ | /| / /
    _  /   /  __/  / / /(__  )/ /_/ /  /   _  __/   _  / / /_/ /_ |/ |/ / 
    /_/    \___//_/ /_//____/ \____//_/    /_/      /_/  \____/____/|__/
    
    
    WARNING: You are running this container as root, which can cause new files in
    mounted volumes to be created as the root user on your host machine.
    
    To avoid this, run the container by specifying your user's userid:
    
    $ docker run -u $(id -u):$(id -g) args...
    
    [I 18:46:03.711 NotebookApp] Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret
    jupyter_http_over_ws extension initialized. Listening on /http_over_websocket
    [I 18:46:03.966 NotebookApp] Serving notebooks from local directory: /tf
    [I 18:46:03.967 NotebookApp] The Jupyter Notebook is running at:
    [I 18:46:03.967 NotebookApp] http://e9f2d4e3d8cf:8888/?token=f81f9b3843d8bf66a445e11ba6310e80495152862078eb8f
    [I 18:46:03.967 NotebookApp]  or http://127.0.0.1:8888/?token=f81f9b3843d8bf66a445e11ba6310e80495152862078eb8f
    [I 18:46:03.967 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
    [C 18:46:03.971 NotebookApp] 
        
        To access the notebook, open this file in a browser:
            file:///root/.local/share/jupyter/runtime/nbserver-1-open.html
        Or copy and paste one of these URLs:
            http://e9f2d4e3d8cf:8888/?token=f81f9b3843d8bf66a445e11ba6310e80495152862078eb8f
         or http://127.0.0.1:8888/?token=f81f9b3843d8bf66a445e11ba6310e80495152862078eb8f
    
    
  • 相关阅读:
    我cnblogs的主题
    Scala Error: error while loading Suite, Scala signature Suite has wrong version expected: 5.0 found: 4.1 in Suite.class
    Spark之路 --- Scala用JFreeChart画图表实例
    Spark之路 --- Scala IDE Maven配置(使用开源中国的Maven库)和使用
    Spark之路 --- Windows Scala 开发环境安装配置
    epoll函数
    Linux网络编程目录
    函数wait和waitpid
    会话
    进程组
  • 原文地址:https://www.cnblogs.com/diylab/p/12244088.html
Copyright © 2011-2022 走看看