exelban/tensorflow-cifar-10 là dự án tích hợp AI trên GitHub với 90 sao, viết chủ yếu bằng Python. Cifar-10 CNN implementation using TensorFlow library with 20% error.
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.
Cifar-10 convolutional network implementation example using TensorFlow library.
Requirement
Library
Version
Python
^3.6.5
Tensorflow
^1.6.0
Numpy
^1.14.2
Pickle
^4.0
Accuracy
Best accurancy what I receive was 79.12% on test data set. You must to understand that network cant always learn with the same accuracy. But almost always accuracy more than 78%.
This repository is just example of implemantation convolution neural network. Here I implement a simple neural network for image recognition with good accuracy.
If you want to get more that 80% accuracy, You need to implement more complicated nn models (such as ResNet, GoogleLeNet, mobileNetV2 ect).
Usage
Download code
git clone https://github.com/exelban/tensorflow-cifar-10
cd tensorflow-cifar-10
Check if you have nessessary packages
pip3 install numpy tensorflow pickle
Train network
By default network will be run 60 epoch (60 times on all training data set).
You can change that by editing _EPOCH in train.py file.
Also by default it process 128 files in each step.
If you training network on CPU or GPU (lowest that 1060 6GB) change _BATCH_SIZE in train.py to a smaller value.
Trying to restore last checkpoint ...
Restored checkpoint from: ./tensorboard/cifar-10-v1.0.0/-23460
Accuracy on Test-Set: 78.81% (7881 / 10000)
Training time
Here you can see how much time takes 60 epoch:
Device
Batch size
Time
Accuracy [%]
NVidia GTX 1070
128
8m 4s
79.12
Intel i7 7700HQ
128
3h 30m
78.91
Please send me (or open issue) your time and accuracy. I will add it to the list.
Model
What's new
v1.0.1
- Set random seed
- Added more information about elapsed time on epoch and full training
v1.0.0
- Removed all references to cifar 100
- Small fixes in data functions
- Almost fully rewrited train.py
- Simplyfy cnn model
- Changed optimizer to AdamOptimizer
- Changed Licence to MIT
- Removed confusion matrix (don't like to have unnecessary dependencies)
- Improved accuracy on testing data set (up to 79%)
- Small fixes in train.py
- Changed saver functions (now session will be saved only if accuracy in this session will be better than the last saved)
- Updated packages
v0.0.1
- Make tests on AWS instances
- Model fixes
- Remove cifar-100 dataset
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/exelban/tensorflow-cifar-10 là nguồn chính thức.
exelban/tensorflow-cifar-10 có những chủ đề gì?
GitHub topics của exelban/tensorflow-cifar-10: "cifar10", "cnn", "conv-2d", "convolutional-neural-networks", "example", "model", "network", "neural", "simple", "tensorflow", "tensorflow-library". TopGit xếp repo vào nhóm AI Tools.
exelban/tensorflow-cifar-10 có phải mã nguồn mở không?
Có — exelban/tensorflow-cifar-10 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/exelban/tensorflow-cifar-10.
exelban/tensorflow-cifar-10 có website riêng không?
TopGit chưa ghi nhận URL trang chủ cho exelban/tensorflow-cifar-10. Phần README ở tab phía trên thường có link demo, hoặc xem mô tả GitHub của repo.
exelban/tensorflow-cifar-10 còn đang phát triển không?
Commit gần nhất trên exelban/tensorflow-cifar-10 là 7.0 năm trước (theo timestamp GitHub). Repo có 48 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
exelban/tensorflow-cifar-10 dùng license gì?
exelban/tensorflow-cifar-10 phát hành theo license MIT. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
Đọc đầy đủ README ở tab phía trên.
tensorflow-cifar-10 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-cifar-10.