Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
lwir-nn
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
lwir-nn
Commits
4b0cf781
Commit
4b0cf781
authored
Jul 31, 2019
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more on presentation
parent
6c88d9e2
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
192 additions
and
48 deletions
+192
-48
nn_eval_lwir.py
nn_eval_lwir.py
+191
-47
qcstereo_functions.py
qcstereo_functions.py
+1
-1
No files found.
nn_eval_lwir.py
View file @
4b0cf781
This diff is collapsed.
Click to expand it.
qcstereo_functions.py
View file @
4b0cf781
...
@@ -751,7 +751,7 @@ def result_npy_prepare(npy_path, absolute, fix_nan, insert_deltas=True,labels=No
...
@@ -751,7 +751,7 @@ def result_npy_prepare(npy_path, absolute, fix_nan, insert_deltas=True,labels=No
weight9
*=
w8
weight9
*=
w8
w_center
=
np
.
sum
(
weight9
,
axis
=
2
)
w_center
=
np
.
sum
(
weight9
,
axis
=
2
)
dw_center
=
np
.
sum
(
data9
*
weight9
,
axis
=
2
)
dw_center
=
np
.
sum
(
data9
*
weight9
,
axis
=
2
)
dw_center
/=
w_center
# now dw_center - weighted average in the center
dw_center
/=
w_center
# now dw_center - weighted average in the center
invalid /
data
[
...
,
-
3
]
=
np
.
abs
(
data
[
...
,
GT_DISP
]
-
dw_center
)
data
[
...
,
-
3
]
=
np
.
abs
(
data
[
...
,
GT_DISP
]
-
dw_center
)
...
...
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