Skip to content
Snippets Groups Projects
Commit 54ca9598 authored by tomrink's avatar tomrink
Browse files

snapshot...

parent b9598d37
No related branches found
No related tags found
No related merge requests found
......@@ -150,9 +150,11 @@ def run(h5f, param_s, train_tiles, valid_tiles, lbl_param_s, lbl_train_tiles, lb
grd_s = []
for param in param_s:
fill_value, fill_value_name = get_fill_attrs(param)
# fill_value, fill_value_name = get_fill_attrs(param)
try:
grd = get_grid_values(h5f, param, 0, 0, None, num_lines, num_pixels, fill_value_name=fill_value_name, fill_value=fill_value)
# grd = get_grid_values(h5f, param, 0, 0, None, num_lines, num_pixels, fill_value_name=fill_value_name, fill_value=fill_value)
grd = get_grid_values(h5f, param, 0, 0, None, num_lines, num_pixels)
print(grd.shape)
grd_s.append(grd)
except Exception as e:
print(e)
......@@ -161,9 +163,11 @@ def run(h5f, param_s, train_tiles, valid_tiles, lbl_param_s, lbl_train_tiles, lb
grd_s = []
for param in lbl_param_s:
fill_value, fill_value_name = get_fill_attrs(param)
# fill_value, fill_value_name = get_fill_attrs(param)
try:
grd = get_grid_values(h5f, param, 0, 0, None, num_lines*2, num_pixels*2, fill_value_name=fill_value_name, fill_value=fill_value)
# grd = get_grid_values(h5f, param, 0, 0, None, num_lines*2, num_pixels*2, fill_value_name=fill_value_name, fill_value=fill_value)
grd = get_grid_values(h5f, param, 0, 0, None, num_lines*2, num_pixels*2)
print(grd.shape)
grd_s.append(grd)
except Exception as e:
print(e)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment