Skip to content
Snippets Groups Projects
Commit 3bf3f1af authored by Mario Sänger's avatar Mario Sänger
Browse files

Minor changes to seq2seq attention

parent 2554815d
Branches
No related merge requests found
......@@ -34,6 +34,7 @@ tf.set_random_seed(1234)
# Don't pre-allocate memory; allocate as-needed
config.gpu_options.allow_growth = True
config.gpu_options.allocator_type = 'BFC'
config.gpu_options.visible_device_list = "2"
sess = tf.Session(graph=tf.get_default_graph(), config=config)
K.set_session(sess)
......@@ -55,7 +56,7 @@ with open('models/icd10_mappings.p', 'rb') as handle:
callbacks_list = [
EarlyStopping(
monitor='val_loss',
patience=5,
patience=50,
# min_delta=0.001
),
ModelCheckpoint(
......
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