Example Graphs for TensorFlow
Use the TensorFlow-based example graphs in the SAP Data Hub Modeler to build rich machine learning applications.
- com.sap.ml.tensorflow.trainMnistRepo
- com.sap.ml.tensorflow.evaluateMnistRepo
- com.sap.ml.tensorflow.classifyVideoStream
- com.sap.ml.tensorflow.classifyImages
- Start the SAP Data Hub Modeler.
- In the navigation pane, select the Graphs tab.
- In the ML Tensorflow (beta) section, select the Train MNIST Model graph.
- In the editor toolbar, choose (Save) to save the graph.
- In the editor toolbar, choose (Run) to execute the graph.
The Status tab in the bottom pane shows the status for the graph execution as running to indicate that the graph is being executed. In the editor, right-click the Terminal operator and choose Open UI. The tool provides information on the accuracy and the model save progress.
While the training graph is running (or after the graph is stopped), execute the inference graph.
- In the navigation pane, select the Graphs tab.
- In the ML Tensorflow (beta) section, select the Infer MNIST Str. Repo graph.
- In the editor toolbar, choose (Save) to save the graph.
- In the editor toolbar, choose (Run) to execute the graph.
The Status tab in the bottom pane shows the status for graph execution as running to indicate that the graph is being executed. You can now see inference values (deduced number in the drawn image) of the images and the image paths that are sent to the Terminal operator.
- In the navigation pane, select the Graphs tab.
- In the ML Tensorflow (beta) section, select the Classify Images with Inception graph.
- In the editor toolbar, choose (Save) to save the graph.
- In the editor toolbar, choose (Run) to execute the graph.
The Status tab in the bottom pane shows the status for graph execution as running to indicate that the graph is being executed.
- In the navigation pane, select the Graphs tab.
- In the ML Tensorflow (beta) section, select the Classify Video graph.
- In the editor toolbar, choose (Save) to save the graph.
- In the editor toolbar, choose (Run) to execute the graph.
The Status tab in the bottom pane shows the status for graph execution as running to indicate that the graph is being executed.