Skip to main content

High Level Tensorflow Deep Learning Library for Researcher and Engineer.

Project description

TENSORLAYER-LOGO

TensorLayerX is a deep learning library designed for researchers and engineers that is compatible with multiple deep learning frameworks such as TensorFlow, MindSpore and PaddlePaddle, allowing users to run the code on different hardware like Nvidia-GPU and Huawei-Ascend. It provides popular DL and RL modules that can be easily customized and assembled for tackling real-world machine learning problems. More details can be found here. TensorLayerX will support TensorFlow, MindSpore, PaddlePaddle, and PyTorch backends in the future.

Install

TensorLayerX has some prerequisites that need to be installed first, including TensorFlow , MindSpore, PaddlePaddle,numpy and matplotlib.For GPU support CUDA and cuDNN are required.

# for last stable version
pip install --upgrade tensorlayerX

# for latest release candidate
pip install --upgrade --pre tensorlayerX

# if you want to install the additional dependencies, you can also run
pip install --upgrade tensorlayerX[all]              # all additional dependencies
pip install --upgrade tensorlayerX[extra]            # only the `extra` dependencies
pip install --upgrade tensorlayerX[contrib_loggers]  # only the `contrib_loggers` dependencies

Alternatively, you can install the latest or development version by directly pulling from OpenI:

pip3 install git+https://github.com/tensorlayer/TensorLayerX.git

Containers with CPU support

# for CPU version and Python 2
docker pull tensorlayer/tensorlayer:latest
docker run -it --rm -p 8888:8888 -p 6006:6006 -e PASSWORD=JUPYTER_NB_PASSWORD tensorlayer/tensorlayer:latest

# for CPU version and Python 3
docker pull tensorlayer/tensorlayer:latest-py3
docker run -it --rm -p 8888:8888 -p 6006:6006 -e PASSWORD=JUPYTER_NB_PASSWORD tensorlayer/tensorlayer:latest-py3

Containers with GPU support

NVIDIA-Docker is required for these containers to work: Project Link

# for GPU version and Python 2
docker pull tensorlayer/tensorlayer:latest-gpu
nvidia-docker run -it --rm -p 8888:88888 -p 6006:6006 -e PASSWORD=JUPYTER_NB_PASSWORD tensorlayer/tensorlayer:latest-gpu

# for GPU version and Python 3
docker pull tensorlayer/tensorlayer:latest-gpu-py3
nvidia-docker run -it --rm -p 8888:8888 -p 6006:6006 -e PASSWORD=JUPYTER_NB_PASSWORD tensorlayer/tensorlayer:latest-gpu-py3

Cite

If you find this project useful, we would be grateful if you cite the TensorLayer papers.

@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}
}
@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}
}

License

TensorLayerX is released under the Apache 2.0 license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tensorlayerx-0.5.8.tar.gz (396.6 kB view details)

Uploaded Source

Built Distribution

tensorlayerx-0.5.8-py3-none-any.whl (532.3 kB view details)

Uploaded Python 3

File details

Details for the file tensorlayerx-0.5.8.tar.gz.

File metadata

  • Download URL: tensorlayerx-0.5.8.tar.gz
  • Upload date:
  • Size: 396.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for tensorlayerx-0.5.8.tar.gz
Algorithm Hash digest
SHA256 6f318fdd2ccc7aaf214d217e32ddf0fa08f7ee467830e44505677064b95d9056
MD5 9b0a80b62a0ac5fb1e5d91f2d82f4672
BLAKE2b-256 4871e63c4064685b5635d71ad1cee5fe2795e61099bdf3a6f9ddc29430aa6d2e

See more details on using hashes here.

File details

Details for the file tensorlayerx-0.5.8-py3-none-any.whl.

File metadata

File hashes

Hashes for tensorlayerx-0.5.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b9c82cdbdbad9d08f8ab2ec20c78b1954176a26422df3bb42c44102637e1b80c
MD5 041ba877e9544860fc9809b859f7609f
BLAKE2b-256 c78d34b97e3f06a0277db9a2362a35ac7b932393b3d236f0c4d7469d884577f6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page