Coder Social home page Coder Social logo

tensorflow-pytorch-data's Introduction

tensorflow

查看tensorflow与python的版本,然后确定各自安装版本。eg:python-3.9,tensorflow-2.6.0

setup python

https://www.python.org/downloads/windows/

python安装过程中,选择加入环境变量 & 关闭window路径限长(disable path length limit)两个选项

setup tensorflow

pip install tensorflow-cpu==2.6.0 -i https://pypi.tuna.tsinghua.edu.cn/simple

其他可能的注意事项

错误1-protobuf

image

pip install protobuf==3.20

错误2-numpy版本

image

错误:pip 的依赖项解析器当前未考虑所有已安装的包。此行为是以下依赖项冲突的根源。tensorflow-cpu 2.6.0 需要 numpy~=1.19.2,但你有 numpy 1.24.2 不兼容。

pip install numpy==1.19.2

错误3-numpy依赖visual c++ 14.0

image

此时需要安装visual c++ 14.0,,可以去微软下载安装 https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view=msvc-170

安装完后再 pip install numpy==1.19.2

需要注意tensorflow与keras版本对应

image

pip install keras==2.6

测试tensorflow

image

pytorch

pytorch安装指南

paddlepaddle

paddlepaddle安装指南

tensorflow-pytorch-data's People

Contributors

data2 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.