一:安装cpu版本的tensorflow

  1. 更新系统资源:

    sudo apt-get update

  2. 安装python-pip

    sudo apt-get install python-pip

  3. 安装cpu版本的tensorflow。

    sudo pip install tf-nightly

  4. 进行测试:
    ubuntu安装TensorFlow(CPU,GPU)

二:安装gpu版本的tensorflow

  1. 更新系统资源:

    sudo apt-get update

  2. 安装python-pip

    sudo apt-get install python-pip

  3. 安装gpu版本的tensorflow。

    sudo pip install tf-nightly-gpu

  4. 进行测试:
    ubuntu安装TensorFlow(CPU,GPU)

相关文章:

  • 2021-11-23
  • 2021-12-03
  • 2021-12-03
  • 2021-12-05
  • 2021-10-04
  • 2021-05-30
  • 2021-05-01
猜你喜欢
  • 2021-05-29
  • 2021-08-29
  • 2021-06-12
  • 2022-12-23
  • 2021-12-03
  • 2021-05-29
相关资源
相似解决方案