Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
python3-imagej-tiff
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Elphel
python3-imagej-tiff
Commits
57087432
Commit
57087432
authored
Jul 13, 2018
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor changes
parent
0452a446
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
test_nn_feed.py
test_nn_feed.py
+8
-8
test_nn_infer.py
test_nn_infer.py
+1
-1
No files found.
test_nn_feed.py
View file @
57087432
...
...
@@ -93,16 +93,16 @@ def lrelu(x):
def
network
(
input
):
fc1
=
slim
.
fully_connected
(
input
,
1024
,
activation_fn
=
lrelu
,
scope
=
'g_fc1'
)
#
fc2 = slim.fully_connected(fc1, 2,activation_fn=lrelu,scope='g_fc2')
#
return fc2
fc2
=
slim
.
fully_connected
(
fc1
,
2
,
activation_fn
=
lrelu
,
scope
=
'g_fc2'
)
return
fc2
fc2
=
slim
.
fully_connected
(
fc1
,
1024
,
activation_fn
=
lrelu
,
scope
=
'g_fc2'
)
fc3
=
slim
.
fully_connected
(
fc2
,
512
,
activation_fn
=
lrelu
,
scope
=
'g_fc3'
)
fc4
=
slim
.
fully_connected
(
fc3
,
8
,
activation_fn
=
lrelu
,
scope
=
'g_fc4'
)
fc5
=
slim
.
fully_connected
(
fc4
,
4
,
activation_fn
=
lrelu
,
scope
=
'g_fc5'
)
fc6
=
slim
.
fully_connected
(
fc5
,
2
,
activation_fn
=
lrelu
,
scope
=
'g_fc6'
)
#
fc2 = slim.fully_connected(fc1, 1024,activation_fn=lrelu,scope='g_fc2')
#
fc3 = slim.fully_connected(fc2, 512,activation_fn=lrelu,scope='g_fc3')
#
fc4 = slim.fully_connected(fc3, 8,activation_fn=lrelu,scope='g_fc4')
#
fc5 = slim.fully_connected(fc4, 4,activation_fn=lrelu,scope='g_fc5')
#
fc6 = slim.fully_connected(fc5, 2,activation_fn=lrelu,scope='g_fc6')
return
fc6
#
return fc6
sess
=
tf
.
Session
()
...
...
test_nn_infer.py
View file @
57087432
...
...
@@ -69,7 +69,7 @@ def lrelu(x):
def
network
(
input
):
fc1
=
slim
.
fully_connected
(
input
,
512
,
activation_fn
=
lrelu
,
scope
=
'g_fc1'
)
fc1
=
slim
.
fully_connected
(
input
,
1024
,
activation_fn
=
lrelu
,
scope
=
'g_fc1'
)
fc2
=
slim
.
fully_connected
(
fc1
,
2
,
activation_fn
=
lrelu
,
scope
=
'g_fc2'
)
return
fc2
...
...
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