Commit 2b5c84c2 authored by Andrey Filippov's avatar Andrey Filippov

fixed file pattern

parent c64289c7
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment