Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Tensorflow | 175,211 | 327 | 77 | 18 hours ago | 46 | October 23, 2019 | 2,137 | apache-2.0 | C++ | |
An Open Source Machine Learning Framework for Everyone | ||||||||||
Transformers | 102,613 | 64 | 911 | 19 hours ago | 91 | June 21, 2022 | 724 | apache-2.0 | Python | |
🤗 Transformers: State-of-the-art Machine Learning for Pytorch, TensorFlow, and JAX. | ||||||||||
Pytorch | 67,463 | 146 | 18 hours ago | 23 | August 10, 2022 | 12,145 | other | Python | ||
Tensors and Dynamic neural networks in Python with strong GPU acceleration | ||||||||||
Keras | 58,494 | 330 | a day ago | 68 | May 13, 2022 | 385 | apache-2.0 | Python | ||
Deep Learning for humans | ||||||||||
Cs Video Courses | 56,273 | 2 days ago | 17 | |||||||
List of Computer Science courses with video lectures. | ||||||||||
Faceswap | 44,904 | 18 days ago | 24 | gpl-3.0 | Python | |||||
Deepfakes Software For All | ||||||||||
D2l Zh | 44,047 | 1 | 2 days ago | 45 | March 25, 2022 | 34 | apache-2.0 | Python | ||
《动手学深度学习》:面向中文读者、能运行、可讨论。中英文版被60多个国家的400多所大学用于教学。 | ||||||||||
Tensorflow Examples | 42,312 | 7 months ago | 218 | other | Jupyter Notebook | |||||
TensorFlow Tutorial and Examples for Beginners (support TF v1 & v2) | ||||||||||
100 Days Of Ml Code | 40,344 | 3 months ago | 61 | mit | ||||||
100 Days of ML Coding | ||||||||||
Deepfacelab | 39,560 | 11 days ago | 531 | gpl-3.0 | Python | |||||
DeepFaceLab is the leading software for creating deepfakes. |
TensorLayerX is a multi-backend AI framework, supports TensorFlow, Pytorch, MindSpore, PaddlePaddle, OneFlow and Jittor as the backends, allowing users to run the code on different hardware like Nvidia-GPU, Huawei-Ascend, Cambricon and more. This project is maintained by researchers from Peking University, Imperial College London, Princeton, Stanford, Tsinghua, Edinburgh and Peng Cheng Lab.
We have video courses for deep learning, with example codes based on TensorLayerX.
Bilibili link (chinese)
Compatibility: Support worldwide frameworks and AI chips, enabling one code runs on all platforms.
Model Zoo: Provide a series of applications containing classic and SOTA models, covering CV, NLP, RL and other fields.
Deployment: Support ONNX protocol, model export, import and deployment.
You can immediately use TensorLayerX to define a model via Pytorch-stype, and switch to any backends easily.
import os
os.environ['TL_BACKEND'] = 'tensorflow' # modify this line, switch to any backends easily!
#os.environ['TL_BACKEND'] = 'mindspore'
#os.environ['TL_BACKEND'] = 'paddle'
#os.environ['TL_BACKEND'] = 'torch'
import tensorlayerx as tlx
from tensorlayerx.nn import Module
from tensorlayerx.nn import Linear
class CustomModel(Module):
def __init__(self):
super(CustomModel, self).__init__()
self.linear1 = Linear(out_features=800, act=tlx.ReLU, in_features=784)
self.linear2 = Linear(out_features=800, act=tlx.ReLU, in_features=800)
self.linear3 = Linear(out_features=10, act=None, in_features=800)
def forward(self, x, foo=False):
z = self.linear1(x)
z = self.linear2(z)
out = self.linear3(z)
if foo:
out = tlx.softmax(out)
return out
MLP = CustomModel()
MLP.set_eval()
Get started with TensorLayerX quickly using the following examples:
MNIST Digit Recognition: Train a simple multi-layer perceptron (MLP) model for digit recognition using the MNIST dataset. Choose between a simple training method or custom loops. See the examples: mnist_mlp_simple_train.py and mnist_mlp_custom_train.py.
CIFAR-10 Dataflow: Learn how to create datasets, process images, and load data through DataLoader using the CIFAR-10 dataset. See the example: cifar10_cnn.py.
MNIST GAN Training: Train a generative adversarial network (GAN) on the MNIST dataset. See the example: mnist_gan.py.
MNIST Mix Programming: Mix TensorLayerX code with other deep learning libraries such as TensorFlow, PyTorch, Paddle, and MindSpore to run on the MNIST dataset. See the example: mnist_mlp_mix_programming.py.
More official resources can be found here
TensorLayerX | TensorFlow | MindSpore | PaddlePaddle | PyTorch | OneFlow | Jittor |
---|---|---|---|---|---|---|
v0.5.8 | v2.4.0 | v1.8.1 | v2.2.0 | v1.10.0 | -- | -- |
v0.5.7 | v2.0.0 | v1.6.1 | v2.0.2 | v1.10.0 | -- | -- |
# install from pypi
pip3 install tensorlayerx
# install from Github
pip3 install git+https://github.com/tensorlayer/tensorlayerx.git
For more installation instructions, please refer to Installtion
Docker is an open source application container engine. In the TensorLayerX Docker Repository, different versions of TensorLayerX have been installed in docker images.
# pull from docker hub
docker pull tensorlayer/tensorlayerx:tagname
Join our community as a code contributor, find out more in our Help wanted list and Contributing guide!
We suggest users to report bugs using Github issues. Users can also discuss how to use TensorLayerX in the following slack channel.
If you find TensorLayerX useful for your project, please cite the following papers
@inproceedings{tensorlayer2021,
title={TensorLayer 3.0: A Deep Learning Library Compatible With Multiple Backends},
author={Lai, Cheng and Han, Jiarong and Dong, Hao},
booktitle={2021 IEEE International Conference on Multimedia \& Expo Workshops (ICMEW)},
pages={1--3},
year={2021},
organization={IEEE}
}
@article{tensorlayer2017,
author = {Dong, Hao and Supratak, Akara and Mai, Luo and Liu, Fangde and Oehmichen, Axel and Yu, Simiao and Guo, Yike},
journal = {ACM Multimedia},
title = {{TensorLayer: A Versatile Library for Efficient Deep Learning Development}},
url = {http://tensorlayer.org},
year = {2017}
}