Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Simple Tensorflow AI Decision plugin allows one to map it on a process route, execute a pre-trained Tensorflow AI model and use the output result for decision making.

Warning

The following are the list of required items before using Simple Tensorflow AI Decision:

  • an exported frozen model of Tensorflow AI model file in .pb format
  • the list of Input Names and each their Data Type
  • the list of Output Names 
Warning
Please take note that the Decision Tool Plugin will take precedence over existing conventional conditional setup in the Process Builder

...

NameDescriptionScreens (click to view)
Tensorflow Session

The Tensorflow Session properties are defined here:

Sub-elementDescription
Add SessionAdd a Session. see Add Session properties below.
Add Post Processing

When hovering the mouse over the Add Post Processing, a list of Post Processing types will be available as shown below:

  • BeanShell Script - see Add Post Processing - Beanshell BeanShell Script properties
  • Values to Labels - see Add Post Processing - Values to Labels properties
  • Euclidean Distance - see Add Post Processing - Euclidean Distance properties
  • Probabilities to Labels - see Add Post Processing - Probabilities to Labels properties

Image Modified

Rules

The Rules properties have the same properties as seen in Simple Rules Decision

Add Session

...

...


Add Session

...

Sub-elementDescriptionScreens (click to view)
Model
  • Choose File - Select an AI model to run
  • Clear - clear selected AI model

Image Added

Delete Session
Add Input

When hovering the mouse over the Add Input, a list of Input types will be available as shown below:

  • BeanShell Script - see Add Input - Beanshell Script properties
  • Image - see Add Input - Image properties
  • Boolean - see Add Input - Boolean properties
  • Audio MelSpectogram - see Add Input - Audio Melspectogram properties
  • Numbers - see Add Input - Numbers properties
  • Text - see Add Input - Text properties
Add Outputsee Add Output properties

Add Input

BeanShell Script

...

...

BeanShell Script

...

Sub-elementDescriptionScreens (click to view)
Input NameDefined Input Tensor


Image Added

Script

Script in Java. Please see  Bean Shell Programming Guide for code example.

Delete Input

...

Sub-elementDescriptionScreens (click to view)
Input NameDefined Input Tensor
Type
  • Float
  • Double
  • Integer
  • UInt8
  • Long

File Source
  • Retrieve from URL
  • <list of all available Forms>

URL or Image Upload Field ID
  • URL input if Retrieve from URL was selected as the File Source
  • Image Upload Field ID if a Form was selected as the File Source

WidthWidth in Integer

Height

Height in Integer

Mean

Mean in Integer
ScaleScale in Integer
Delete Input

...

Sub-elementDescriptionScreens (click to view)
Input NameDefined Input Tensor
Value
  • True
  • False

Delete Input

...

Sub-elementDescriptionScreens (click to view)
Input NameDefined Input Tensor
File Source
  • Retrieve from URL
  • <list of all available Forms>

URL or File Upload Field ID
  • URL input if Retrieve from URL was selected as the File Source
  • File Upload Field ID if a Form was selected as the File Source

WidthWidth in Integer
Height

Height in Integer


FFT SizeFFT Size in Integer
Overlap SizeOverlap Size in Integer
Min Frequency (Hz)Minimum Frequency (Hz) in
Max Frequency (Hz)Maximum Frequency (Hz) in
Delete Input

...

Sub-elementDescriptionScreens (click to view)
Input NameDefined Input Tensor
Type
  • Float
  • Double
  • Integer
  • UInt8
  • Long

Number Valuesseparate number values by ;
Delete Input

...

Sub-elementDescriptionScreens (click to view)
Input NameDefined Input Tensor
Type

Text Value

Dictionary (JSON/CSV)

Max Length

Leave Empty On Front

Delete Input

...

Sub-elementDescriptionScreens (click to view)
Output NameDefined OutputTensor
Temporary Variable Name

Delete Output

...