Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
imagej-elphel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
imagej-elphel
Commits
a6f36737
Commit
a6f36737
authored
Sep 15, 2018
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
+more examples
parent
4a29b844
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
TensorflowExamplePlugin.java
src/main/java/TensorflowExamplePlugin.java
+13
-1
No files found.
src/main/java/TensorflowExamplePlugin.java
View file @
a6f36737
...
@@ -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
())
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment