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
0797a429
Commit
0797a429
authored
Aug 29, 2018
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
colored weights, hardcoded dimensions
parent
7a9d4e6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
nn_ds_neibs11_tmp.py
nn_ds_neibs11_tmp.py
+1
-0
No files found.
nn_ds_neibs11_tmp.py
View file @
0797a429
...
@@ -1577,6 +1577,7 @@ with tf.Session() as sess:
...
@@ -1577,6 +1577,7 @@ with tf.Session() as sess:
#l2 = NN_LAYOUT2.index(next(filter(lambda x: x!=0, NN_LAYOUT2)))
#l2 = NN_LAYOUT2.index(next(filter(lambda x: x!=0, NN_LAYOUT2)))
with
tf
.
variable_scope
(
'g_fc_inter'
+
str
(
l2
),
reuse
=
tf
.
AUTO_REUSE
):
with
tf
.
variable_scope
(
'g_fc_inter'
+
str
(
l2
),
reuse
=
tf
.
AUTO_REUSE
):
w
=
tf
.
get_variable
(
'weights'
,
shape
=
[
400
,
NN_LAYOUT2
[
l2
]])
w
=
tf
.
get_variable
(
'weights'
,
shape
=
[
400
,
NN_LAYOUT2
[
l2
]])
w
=
tf
.
transpose
(
w
,(
1
,
0
))
w
=
tf
.
transpose
(
w
,(
1
,
0
))
img2
=
npw
.
tiles
(
npw
.
coldmap
(
w
.
eval
(),
zero_span
=
0.0002
),(
5
,
5
,
4
,
4
),
tiles_per_line
=
4
,
borders
=
True
)
img2
=
npw
.
tiles
(
npw
.
coldmap
(
w
.
eval
(),
zero_span
=
0.0002
),(
5
,
5
,
4
,
4
),
tiles_per_line
=
4
,
borders
=
True
)
...
...
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