Commit a6f36737 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

+more examples

parent 4a29b844
...@@ -69,8 +69,20 @@ public class TensorflowExamplePlugin ...@@ -69,8 +69,20 @@ public class TensorflowExamplePlugin
} }
try (SavedModelBundle b = SavedModelBundle.load(EXPORTDIR,PB_TAG)){ try (SavedModelBundle b = SavedModelBundle.load(EXPORTDIR,PB_TAG)){
System.out.println("Alright"); System.out.println("OK");
smpb = b.graph(); smpb = b.graph();
/*
try (
final Session s = new Session(g);
@SuppressWarnings("unchecked")
final Tensor<Float> result = (Tensor<Float>) s.runner().feed("input", image)//
.fetch("output").run().get(0)
){
...
}
*/
} }
try (Graph g = new Graph()) { try (Graph g = new Graph()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment