Skip to main content

a simple package for handling tensorflow tensor

Project description

README

NEWS

Date News Version
n
April 2019 yolov3 (preview version) v0.4.18
April 2019 Unet-segmentation (preview version) v0.4.18
Mei 2019 Stable version of object detector is released > v0.5.1
Mei 2019 Stable version of U-net semantic segmentation is released > v0.5.1

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 operations and related projects

DEPENDENCIES

  1. Tensorflow (1.4.1 - 1.13)

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

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
# tensor operations
from simple_tensor.tensor_operations import *
# tensor losses
from simple_tensor.tensor_losses import *
# tensor metrics
from simple_tensor.tensor_metrics import *

This packages contains tensor operation (conv2d, conv1d, depthwise conv2d, fully connected, conv2d transpose), tensor losses (softmax & sigmoid cross entropy, MSE), and tensor metrics (accuracy). For more detail documentations about tensor operations, visit this page

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 *

This package contains a library of tensorflow implementation of Inception-v4 for image classification. Densenet, Resnet, and VGG will be added in the future version. For more detail documentations about transfer learning package, visit this page

alt text

(img source: link)

Object Detector Package

import tensorflow as tf
from simple_tensor.object_detector.detector_utils import *
from simple_tensor.object_detector.yolo_v4 import *

This package contains a library of tensorflow implementation of Yolov3 (training and inferencing). You can customize your yolo detector with four types of network ("big", 'medium", "small", "very_small"). For more detail documentations about object detector package (yolov3), visit this page.

alt text

(img source: pjreddie)

Unet Segmentation Package

import tensorflow as tf
from simple_tensor.segmentation.unet import UNet

This package contains the tensorflow implementation of U-net for semantic segmentation. For more detail, visit this page

alt text

(img source: internal)

LSTM Package

still on progress ....

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]

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simple_tensor-0.6.3-py3.5.egg (73.7 kB view details)

Uploaded Egg

File details

Details for the file simple_tensor-0.6.3-py3.5.egg.

File metadata

  • Download URL: simple_tensor-0.6.3-py3.5.egg
  • Upload date:
  • Size: 73.7 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.5.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.5.2

File hashes

Hashes for simple_tensor-0.6.3-py3.5.egg
Algorithm Hash digest
SHA256 caa6aef28381afe90b44daa801904cc8df020fed2bf42b060eeeb45819e0e70f
MD5 7f23c7c605bdc6b49c63a53d52141fca
BLAKE2b-256 5359ec00c69bb6c1274d055c5e8562907a26fa2513bdf22ec8aedcbc9a3b8141

See more details on using hashes here.

Supported by

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