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

fix some cf issues

parent 4978b9b0
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@ def run_all(directory, out_directory):
[data_valid_tiles.append(data_tiles[k]) for k in range(n_vld)]
[data_train_tiles.append(data_tiles[k]) for k in range(n_vld, num)]
if f_cnt == 40:
if f_cnt == 10:
cnt += 1
label_valid = np.stack(label_valid_tiles)
......@@ -187,11 +187,11 @@ def run(data_h5f, label_h5f, data_tiles, label_tiles, mod_tile_width=64, kernel_
#num_keep_x_tiles = 3
num_keep_x_tiles = 1
# i_skip = 3 * mod_tile_width
i_skip = 1
i_skip = 3 * mod_tile_width
#i_skip = 1
j_skip = 1 * mod_tile_width
#i_start = int(mod_num_pixels / 2) - int((num_keep_x_tiles * 3 * mod_tile_width) / 2)
i_start = int(mod_num_pixels / 2) - int((mod_tile_width) / 2)
i_start = int(mod_num_pixels / 2) - int((num_keep_x_tiles * 3 * mod_tile_width) / 2)
#i_start = int(mod_num_pixels / 2) - int((mod_tile_width) / 2)
num_keep_y_tiles = 96
for j in range(num_keep_y_tiles):
......
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