Install TensorFlow 2

TensorFlow Install Learn
  • Introduction New to TensorFlow?
  • Tutorials Learn how to use TensorFlow with end-to-end examples
  • Guide Learn framework concepts and components
  • Learn ML Educational resources to master your path with TensorFlow
API
  • TensorFlow (v2.16.1)
  • Versions…
  • TensorFlow.js
  • TensorFlow Lite
  • TFX
Ecosystem
  • LIBRARIES
  • TensorFlow.js Develop web ML applications in JavaScript
  • TensorFlow Lite Deploy ML on mobile, microcontrollers and other edge devices
  • TFX Build production ML pipelines
  • All libraries Create advanced models and extend TensorFlow
  • RESOURCES
  • Models & datasets Pre-trained models and datasets built by Google and the community
  • Tools Tools to support and accelerate TensorFlow workflows
  • Responsible AI Resources for every stage of the ML workflow
  • Recommendation systems Build recommendation systems with open source tools
Community
  • Groups User groups, interest groups and mailing lists
  • Contribute Guide for contributing to code and documentation
  • Blog Stay up to date with all things TensorFlow
  • Forum Discussion platform for the TensorFlow community
Why TensorFlow
  • About
  • Case studies
/
  • English
  • Español
  • Español – América Latina
  • Français
  • Indonesia
  • Italiano
  • Polski
  • Português
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • Русский
  • עברית
  • العربيّة
  • فارسی
  • हिंदी
  • বাংলা
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어
GitHub
  • Install
TensorFlow
  • Install
  • Learn
    • More
  • API
    • More
  • Ecosystem
    • More
  • Community
    • More
  • Why TensorFlow
    • More
  • GitHub
  • Install TensorFlow
  • Packages
  • pip
  • Docker
  • Additional setup
  • GPU device plugins
  • Problems
  • Build from source
  • Linux / macOS
  • Windows
  • SIG Build
  • Language bindings
  • Java
  • Java (legacy)
  • C
  • Go
  • TensorFlow
  • Install
Stay organized with collections Save and categorize content based on your preferences.

Install TensorFlow 2

TensorFlow is tested and supported on the following 64-bit systems:

  • Python 3.8–3.11
  • Ubuntu 16.04 or later
  • Windows 7 or later (with C++ redistributable)
  • macOS 10.12.6 (Sierra) or later (no GPU support)
  • WSL2 via Windows 10 19044 or higher including GPUs (Experimental)
# Requires the latest pip pip install --upgrade pip # Current stable release for CPU and GPU pip install tensorflow # Or try the preview build (unstable) pip install tf-nightly

Download a package

Install TensorFlow with Python's pip package manager.

TensorFlow 2 packages require a pip version >19.0 (or >20.3 for macOS).

Official packages available for Ubuntu, Windows, and macOS.

Read the pip install guide

Run a TensorFlow container

The TensorFlow Docker images are already configured to run TensorFlow. A Docker container runs in a virtual environment and is the easiest way to set up GPU support.

dockerpulltensorflow/tensorflow:latest# Download latest stable image docker run -it -p 8888:8888 tensorflow/tensorflow:latest-jupyter # Start Jupyter server Read the Docker install guide

Google Colab: An easy way to learn and use TensorFlow

No install necessary—run the TensorFlow tutorials directly in the browser with Colaboratory, a Google research project created to help disseminate machine learning education and research. It's a Jupyter notebook environment that requires no setup to use and runs entirely in the cloud. Read the blog post.

Web developers

TensorFlow.js is a WebGL accelerated, JavaScript library to train and deploy ML models in the browser, Node.js, mobile, and more.

Mobile developers

TensorFlow Lite is a lightweight solution for mobile and embedded devices.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2023-03-24 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-03-24 UTC."],[],[]]
  • Stay connected

    • Blog
    • Forum
    • GitHub
    • Twitter
    • YouTube
  • Support

    • Issue tracker
    • Release notes
    • Stack Overflow
    • Brand guidelines
    • Cite TensorFlow
  • Terms
  • Privacy
  • Manage cookies
  • Sign up for the TensorFlow newsletter Subscribe
  • English
  • Español
  • Español – América Latina
  • Français
  • Indonesia
  • Italiano
  • Polski
  • Português
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • Русский
  • עברית
  • العربيّة
  • فارسی
  • हिंदी
  • বাংলা
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어

Từ khóa » Cài đặt Tensorflow Trên Pycharm