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
e0cad160
Commit
e0cad160
authored
Sep 10, 2018
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
+file for Tensorflow testing
parent
cff91554
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
3 deletions
+18
-3
Eyesis_Correction.java
src/main/java/Eyesis_Correction.java
+5
-3
TensorflowExamplePlugin.java
src/main/java/TensorflowExamplePlugin.java
+13
-0
No files found.
src/main/java/Eyesis_Correction.java
View file @
e0cad160
...
...
@@ -4725,7 +4725,7 @@ private Panel panel1,
/* ======================================================================== */
}
else
if
(
label
.
equals
(
"JCUDA TEST"
))
{
ImagePlus
impl
=
WindowManager
.
getCurrentImage
();
ImagePlus
impl
=
WindowManager
.
getCurrentImage
();
if
(
impl
!=
null
)
{
ImageProcessor
impr
=
impl
.
getProcessor
();
...
...
@@ -4736,7 +4736,6 @@ private Panel panel1,
* In a standalone test JCUDA plugin it's unknown where .setup() is called from...
* As well as .run(). But it works like this.
*/
jcuda
.
setup
(
null
,
impl
);
jcuda
.
run
(
impr
);
...
...
@@ -4747,7 +4746,10 @@ private Panel panel1,
return
;
/* ======================================================================== */
}
else
if
(
label
.
equals
(
"TF TEST"
))
{
System
.
out
.
println
(
"TF TEST"
);
TensorflowExamplePlugin
t
=
new
TensorflowExamplePlugin
();
t
.
run
();
return
;
//JTabbedTest
// End of buttons code
...
...
src/main/java/TensorflowExamplePlugin.java
0 → 100644
View file @
e0cad160
/**
* Copyright (C) 2018 Elphel, Inc.
* SPDX-License-Identifier: GPL-3.0-or-later
*/
public
class
TensorflowExamplePlugin
{
public
void
run
()
{
System
.
out
.
println
(
"TensorflowExamplePlugin run"
);
}
}
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