Skip to main content

a simple package for handling tensorflow tensor

Project description

README

NEWS

Date News Version
3rd Jan 2019 Add conv1d operations v0.0.2
17th Feb 2019 Add conv2d depthwise layer, transfer learning package v0.0.3
The conv1d, conv2d, and conv2d depthwise functions consist dropout operation inside
March 2019 simple_tensor is available on pypi (pip3 install simple-tensor) >=v0.4.0
March 2019 Add Inceptionv4 and Densenet for transfer-learning package v0.4.3
29th March 2019 Simple tensor for Tensorflow 1.13.1 is available on pypi v0.4.3
n

Tensorflow Compatibility

Tensorflow version Simple-Tensor Version
1.4.1 - 1.12 >=v0.4.0
1.3.1 >=v0.4.3

ABOUT PROJECT

This is a simplification of tensorflow tensor operation

DEPENDENCIES

  1. Tensorflow (1.4.1 - 1.12)

For installing tensorflow, with GPU:

# python3 
pip3 install tensorflow-gpu
# python2
pip2 install tensorflow-gpu

Without GPU:

# python3 
pip3 install tensorflow
# python2
pip2 install tensorflow

DOCKER

We already prepared the all in one docker for computer vision and deep learning libraries, including tensorflow 1.12, Opencv3.4.2 and contrib, CUDA 9, CUDNN 7, Keras, jupyter, numpy, sklearn, scipy, statsmodel, pandas, matplotlib, seaborn, flask, gunicorn etc. See the list of dockerfile below:

Docker: Ubuntu 16.04 with GPU (Cuda 9, cudnn 7.2) [TESTED]
Docker: Ubuntu 18.04 with GPU (Cuda 9, cudnn 7.2)
Docker: Ubuntu 16.04 without GPU (Cuda 9, cudnn 7.2) [TESTED]
Docker: Ubuntu 18.04 without GPU (Cuda 9, cudnn 7.2) [TESTED]

HOW TO USE

:shipit: Installing The Package

python setup.py install

or

pip3 install simple-tensor

:shipit: Import The Package

  • Tensor Operations
import tensorflow as tf
from simple_tensor.tensor_operations import *
  • Convert Keras Model to Tensorflow Serving
import tensorflow as tf
from simple_tensor.convert import *
  • Transfer Learning Package
import tensorflow as tf
from simple_tensor.transfer_learning.inception_utils import *
from simple_tensor.transfer_learning.inception_v4 import *
  • Object Detector Package
import tensorflow as tf
from simple_tensor.object_detector.detector_utils import *
from simple_tensor.object_detector.yolo_v4 import *

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

simple_tensor-0.4.11.tar.gz (19.0 kB view hashes)

Uploaded Source

Built Distribution

simple_tensor-0.4.11-py3.6.egg (51.2 kB view hashes)

Uploaded Source

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