Hvass-Labs/TensorFlow-Tutorials là dự án tích hợp AI trên GitHub với 9.3k sao, viết chủ yếu bằng Jupyter Notebook. TensorFlow Tutorials with YouTube Videos
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Natural Language Processing
(Notebook)
(Google Colab)
Machine Translation
(Notebook)
(Google Colab)
Image Captioning
(Notebook)
(Google Colab)
Time-Series Prediction
(Notebook)
(Google Colab)
Tutorials for TensorFlow 1
The following tutorials only work with the older TensorFlow 1 API, so you
would need to install an older version of TensorFlow to run these. It would take
too much time and effort to convert these tutorials to TensorFlow 2.
Pretty Tensor
(Notebook)
(Google Colab)
3-B. Layers API
(Notebook)
(Google Colab)
Save & Restore
(Notebook)
(Google Colab)
Ensemble Learning
(Notebook)
(Google Colab)
CIFAR-10
(Notebook)
(Google Colab)
Inception Model
(Notebook)
(Google Colab)
Transfer Learning
(Notebook)
(Google Colab)
Video Data
(Notebook)
(Google Colab)
Adversarial Examples
(Notebook)
(Google Colab)
Adversarial Noise for MNIST
(Notebook)
(Google Colab)
Visual Analysis
(Notebook)
(Google Colab)
DeepDream
(Notebook)
(Google Colab)
Style Transfer
(Notebook)
(Google Colab)
Estimator API
(Notebook)
(Google Colab)
TFRecords & Dataset API
(Notebook)
(Google Colab)
Videos
These tutorials are also available as YouTube videos.
Translations
These tutorials have been translated to the following languages:
Chinese
New Translations
You can help by translating the remaining tutorials or reviewing the ones that have already been translated. You can also help by translating to other languages.
It is a very big job to translate all the tutorials, so you should just start with Tutorials #01, #02 and #03-C which are the most important for beginners.
New Videos
You are also very welcome to record your own YouTube videos in other languages. It is strongly recommended that you get a decent microphone because good sound quality is very important. I used vokoscreen for recording the videos and the free DaVinci Resolve for editing the videos.
Forks
See the selected list of forks for community modifications to these tutorials.
Installation
There are different ways of installing and running TensorFlow. This section describes how I did it
for these tutorials. You may want to do it differently and you can search the internet for instructions.
If you are new to using Python and Linux then this may be challenging
to get working and you may need to do internet searches for error-messages, etc.
It will get easier with practice. You can also run the tutorials without installing
anything by using Google Colab, see further below.
Some of the Python Notebooks use source-code located in different files to allow for easy re-use
across multiple tutorials. It is therefore recommended that you download the whole repository
from GitHub, instead of just downloading the individual Python Notebooks.
Git
The easiest way to download and install these tutorials is by using git from the command-line:
This will create the directory TensorFlow-Tutorials and download all the files to it.
This also makes it easy to update the tutorials, simply by executing this command inside that directory:
git pull
Download Zip-File
You can also download
the contents of the GitHub repository as a Zip-file and extract it manually.
Environment
I use Anaconda because it comes with many Python
packages already installed and it is easy to work with. After installing Anaconda,
you should create a conda environment
so you do not destroy your main installation in case you make a mistake somewhere:
conda create --name tf python=3
When Python gets updated to a new version, it takes a while before TensorFlow also
uses the new Python version. So if the TensorFlow installation fails, then you may
have to specify an older Python version for your new environment, such as:
conda create --name tf python=3.6
Now you can switch to the new environment by running the following (on Linux):
source activate tf
Required Packages
The tutorials require several Python packages to be installed. The packages are listed in
requirements.txt
To install the required Python packages and dependencies you first have to activate the
conda-environment as described above, and then you run the following command
in a terminal:
pip install -r requirements.txt
Starting with TensorFlow 2.1 it includes both the CPU and GPU versions and will
automatically switch if you have a GPU. But this requires the installation of various
NVIDIA drivers, which is a bit complicated and is not described here.
Python Version 3.5 or Later
These tutorials were developed on Linux using Python 3.5 / 3.6 (the Anaconda distribution) and PyCharm.
There are reports that Python 2.7 gives error messages with these tutorials. Please make sure you are using Python 3.5 or later!
How To Run
If you have followed the above installation instructions, you should
now be able to run the tutorials in the Python Notebooks:
cd ~/development/TensorFlow-Tutorials/ # Your installation directory.
jupyter notebook
This should start a web-browser that shows the list of tutorials. Click on a tutorial to load it.
Run in Google Colab
If you do not want to install anything on your own computer, then the Notebooks
can be viewed, edited and run entirely on the internet by using
Google Colab. There is a
YouTube video explaining how to do this.
You click the "Google Colab"-link next to each tutorial listed above.
You can view the Notebook on Colab but in order to run it you need to login using
your Google account.
Then you need to execute the following commands at the top of the Notebook,
which clones the contents of this repository to your work-directory on Colab.
# Clone the repository from GitHub to Google Colab's temporary drive.
import os
work_dir = "/content/TensorFlow-Tutorials/"
if not os.path.exists(work_dir):
!git clone https://github.com/Hvass-Labs/TensorFlow-Tutorials.git
os.chdir(work_dir)
All required packages should already be installed on Colab, otherwise you
can run the following command:
!pip install -r requirements.txt
Older Versions
Sometimes the source-code has changed from that shown in the YouTube videos. This may be due to
bug-fixes, improvements, or because code-sections are moved to separate files for easy re-use.
If you want to see the exact versions of the source-code that were used in the YouTube videos,
then you can browse the history
of commits to the GitHub repository.
License (MIT)
These tutorials and source-code are published under the MIT License
which allows very broad use for both academic and commercial purposes.
A few of the images used for demonstration purposes may be under copyright. These images are included under the "fair usage" laws.
You are very welcome to modify these tutorials and use them in your own projects.
Please keep a link to the original repository.
Hvass-Labs/TensorFlow-Tutorials thuộc nhóm AI Tools trên TopGit, cùng 8 topic GitHub. Trang Trending và Topics liệt kê các repo cùng số sao và cùng ngôn ngữ để so sánh.
Đọc thêm về Hvass-Labs/TensorFlow-Tutorials ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/Hvass-Labs/TensorFlow-Tutorials là nguồn chính thức.
Hvass-Labs/TensorFlow-Tutorials có phải mã nguồn mở không?
Có — Hvass-Labs/TensorFlow-Tutorials phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/Hvass-Labs/TensorFlow-Tutorials.
Hvass-Labs/TensorFlow-Tutorials là gì?
Hvass-Labs/TensorFlow-Tutorials (Hvass-Labs/TensorFlow-Tutorials) là dự án Jupyter Notebook trên GitHub. Theo mô tả gốc: TensorFlow Tutorials with YouTube Videos
Hvass-Labs/TensorFlow-Tutorials so với các dự án AI Tools khác thế nào?
Hvass-Labs/TensorFlow-Tutorials được TopGit xếp vào nhóm AI Tools, với 9.3k sao GitHub và viết bằng Jupyter Notebook. Xem trang chủ đề AI Tools trên TopGit để so sánh với các dự án tương tự theo số sao và mức độ hoạt động.
Vì sao Hvass-Labs/TensorFlow-Tutorials được xếp vào nhóm AI Tools?
TopGit xếp Hvass-Labs/TensorFlow-Tutorials vào nhóm AI Tools dựa trên GitHub topics và mô tả của repo (gắn thẻ: "deep-learning", "machine-learning", "neural-network"). Việc phân loại dựa trên metadata thật của repo, không phải đoán theo cảm tính biên tập.
Đọc đầy đủ README ở tab phía trên.
TensorFlow-Tutorials có đáng để bạn bỏ thời gian?
ChatGPT, Claude và Perplexity đều đọc được trang này. Hỏi thử xem họ nghĩ gì về TensorFlow-Tutorials.