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
67764921
Commit
67764921
authored
Sep 07, 2018
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactoring
parent
3519f5ec
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
220 additions
and
283 deletions
+220
-283
nn_ds_neibs17.py
nn_ds_neibs17.py
+70
-77
qcstereo_conf_sample.xml
qcstereo_conf_sample.xml
+17
-4
qcstereo_functions.py
qcstereo_functions.py
+133
-202
No files found.
nn_ds_neibs1
6
.py
→
nn_ds_neibs1
7
.py
View file @
67764921
This diff is collapsed.
Click to expand it.
qcstereo_conf_sample.xml
View file @
67764921
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<properties>
<properties>
<parameters>
<parameters>
<EPOCHS_TO_RUN>
650
</EPOCHS_TO_RUN>
<!-- 752# 3000#0 #0 -->
<EPOCHS_TO_RUN>
650
</EPOCHS_TO_RUN>
<!-- 752# 3000#0 #0 -->
<NET_ARCH1>
0
</NET_ARCH1>
<!--1-st stage network -->
<NET_ARCH1>
1
</NET_ARCH1>
<!--1-st stage network -->
<NET_ARCH2>
9
</NET_ARCH2>
<!-- 2-nd stage network -->
<NET_ARCH2>
9
</NET_ARCH2>
<!-- 2-nd stage network -->
<SYM8_SUB>
False
</SYM8_SUB>
<!-- enforce inputs from 2d correlation have symmetrical ones (groups of 8) -->
<SYM8_SUB>
False
</SYM8_SUB>
<!-- enforce inputs from 2d correlation have symmetrical ones (groups of 8) -->
<SPREAD_CONVERGENCE>
False
</SPREAD_CONVERGENCE>
<!-- Input target disparity to all nodes of the 1-st stage -->
<SPREAD_CONVERGENCE>
False
</SPREAD_CONVERGENCE>
<!-- Input target disparity to all nodes of the 1-st stage -->
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
<ONLY_TILE>
None
</ONLY_TILE>
<!-- (remove all but center tile data), put None here for normal operation) -->
<ONLY_TILE>
None
</ONLY_TILE>
<!-- (remove all but center tile data), put None here for normal operation) -->
<CLUSTER_RADIUS>
2
</CLUSTER_RADIUS>
<!-- 1 # 1 - 3x3, 2 - 5x5 tiles -->
<CLUSTER_RADIUS>
2
</CLUSTER_RADIUS>
<!-- 1 # 1 - 3x3, 2 - 5x5 tiles -->
<SHUFFLE_FILES>
True
</SHUFFLE_FILES>
<SHUFFLE_FILES>
True
</SHUFFLE_FILES>
<WLOSS_LAMBDA>
3.0
</WLOSS_LAMBDA>
<!-- fraction of the W_loss (input layers weight non-uniformity) added to G_loss -->
<WLOSS_LAMBDA>
0.1
</WLOSS_LAMBDA>
<!-- fraction of the W_loss (input layers weight non-uniformity) added to G_loss -->
<SLOSS_LAMBDA>
0.1
</SLOSS_LAMBDA>
<!-- weight of loss for smooth fg/bg transitions -->
<SLOSS_LAMBDA>
0.1
</SLOSS_LAMBDA>
<!-- weight of loss for smooth fg/bg transitions -->
<SLOSS_CLIP>
0.2
</SLOSS_CLIP>
<!-- limit punishment for cutting corners (disparity pix) -->
<SLOSS_CLIP>
0.2
</SLOSS_CLIP>
<!-- limit punishment for cutting corners (disparity pix) -->
<WBORDERS_ZERO>
True
</WBORDERS_ZERO>
<!-- Border conditions for first layer weights: False - free, True - tied to 0 -->
<WBORDERS_ZERO>
True
</WBORDERS_ZERO>
<!-- Border conditions for first layer weights: False - free, True - tied to 0 -->
...
@@ -35,7 +35,20 @@
...
@@ -35,7 +35,20 @@
<BATCH_WEIGHTS>
[0.9, 1.0, 0.9, 1.0]
</BATCH_WEIGHTS>
<!-- lvar, hvar, lvar1, hvar1 (increase importance of non-flat clusters -->
<BATCH_WEIGHTS>
[0.9, 1.0, 0.9, 1.0]
</BATCH_WEIGHTS>
<!-- lvar, hvar, lvar1, hvar1 (increase importance of non-flat clusters -->
<DISP_DIFF_CAP>
0.3
</DISP_DIFF_CAP>
<!-- cap disparity difference (do not increase loss above)-->
<DISP_DIFF_CAP>
0.3
</DISP_DIFF_CAP>
<!-- cap disparity difference (do not increase loss above)-->
<DISP_DIFF_SLOPE>
0.03
</DISP_DIFF_SLOPE>
<!-- allow squared error to grow above DISP_DIFF_CAP -->
<DISP_DIFF_SLOPE>
0.03
</DISP_DIFF_SLOPE>
<!-- allow squared error to grow above DISP_DIFF_CAP -->
<TRAIN_BUFFER_GPU>
79
</TRAIN_BUFFER_GPU>
<!-- in batches merged (now quad) batches-->
<TRAIN_BUFFER_CPU>
4
</TRAIN_BUFFER_CPU>
<!-- in TRAIN_BUFFER_GPU-s -->
</parameters>
</parameters>
<dbg_parameters>
<disparity_ranges>
[[[0.0, 0.6,[140,230,135,60]], "Overlook"],
[[0.0, 1.0,[120,180,125,80]],[2.0, 4.0, [50,130,125, 70]], "State Street1"],
[[0.0, 1.0,[130,210,135,95]],[0.5, 2.5, [50,150,150, 75]], "State Street2"],
[ [1.0, 2.5, [90,170, 50, 0]], "B737 near"],
[ [0.75, 1.5, [125,150, 90, 70]], "B737 midrange"],
[ [0.4, 0.8, [135,150,102,112]], "B737 far"]]
</disparity_ranges>
</dbg_parameters>
<directories>
<directories>
<train_lvar>
<train_lvar>
"tf_data_5x5_main_1"
"tf_data_5x5_main_1"
...
@@ -211,8 +224,8 @@
...
@@ -211,8 +224,8 @@
</test_hvar>
</test_hvar>
<images>
<images>
["152725
6858_150165-v01",
<!-- State Street
-->
["152725
7933_150165-v04",
<!-- overlook
-->
"152725
7933_150165-v04",
<!-- overlook
-->
"152725
6858_150165-v01",
<!-- State Street
-->
"1527256816_150165-v02",
<!-- State Street -->
"1527256816_150165-v02",
<!-- State Street -->
"1527182802_096892-v02",
<!-- plane near plane -->
"1527182802_096892-v02",
<!-- plane near plane -->
"1527182805_096892-v02",
<!-- plane midrange used up to -49 plane -->
"1527182805_096892-v02",
<!-- plane midrange used up to -49 plane -->
...
...
qcstereo_functions.py
View file @
67764921
This diff is collapsed.
Click to expand it.
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