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
2b5c84c2
Commit
2b5c84c2
authored
Aug 07, 2018
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed file pattern
parent
c64289c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
explore_data.py
explore_data.py
+6
-4
No files found.
explore_data.py
View file @
2b5c84c2
...
@@ -74,8 +74,10 @@ def readTFRewcordsEpoch(train_filename):
...
@@ -74,8 +74,10 @@ def readTFRewcordsEpoch(train_filename):
class
ExploreData
:
class
ExploreData
:
PATTERN
=
"*-DSI_COMBO.tiff"
PATTERN
=
"*-DSI_COMBO.tiff"
# ML_DIR = "ml"
# ML_DIR = "ml"
ML_PATTERN
=
"*-ML_DATA-*.tiff"
ML_PATTERN
=
"*-ML_DATA*.tiff"
"""
1527182801_296892-ML_DATARND-32B-O-FZ0.05-OFFS-0.20000_0.20000.tiff
"""
def
getComboList
(
self
,
top_dir
):
def
getComboList
(
self
,
top_dir
):
# patt = "*-DSI_COMBO.tiff"
# patt = "*-DSI_COMBO.tiff"
tlist
=
[]
tlist
=
[]
...
@@ -719,10 +721,10 @@ if __name__ == "__main__":
...
@@ -719,10 +721,10 @@ if __name__ == "__main__":
ml_subdir
=
"ml"
ml_subdir
=
"ml"
#Parameters to generate neighbors data. Set radius to 0 to generate single-tile
#Parameters to generate neighbors data. Set radius to 0 to generate single-tile
RADIUS
=
0
RADIUS
=
1
MIN_NEIBS
=
(
2
*
RADIUS
+
1
)
*
(
2
*
RADIUS
+
1
)
# All tiles valid == 9
MIN_NEIBS
=
(
2
*
RADIUS
+
1
)
*
(
2
*
RADIUS
+
1
)
# All tiles valid == 9
VARIANCE_THRESHOLD
=
1.5
VARIANCE_THRESHOLD
=
1.5
NUM_TRAIN_SETS
=
6
NUM_TRAIN_SETS
=
8
if
RADIUS
==
0
:
if
RADIUS
==
0
:
BATCH_DISP_BINS
=
20
BATCH_DISP_BINS
=
20
...
...
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