Commit fec49bb3 authored by sjromuel's avatar sjromuel
Browse files

d

parent 5f722c8b
......@@ -125,7 +125,7 @@ def train_unet(model, inputs, gt, weights, optimizer, filter_multiplier):
def init_weights(manual_seed=26):
### initializing weights ###
#initializer = tf.initializers.glorot_uniform(seed=manual_seed)
initializer = tf.keras.initializers.TruncatedNormal()
initializer = tf.keras.initializers.TruncatedNormal(seed=5)
shapes = [ # filter_height, filter_width, in_channels, out_channels
# for conv2d_transpose: filter_height, filter_width, out_channels, in_channels
[3, 3, 1, 16],
......
......@@ -21,7 +21,7 @@ def main():
root = tk.Tk()
root.withdraw()
file_path = filedialog.askopenfilename(initialdir="finalResults/")
file_path = filedialog.askopenfilename(initialdir="finalResults/complete_thresh")
file_path = file_path[:-9]
print(file_path)
......
Supports Markdown
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