Skip to content
Snippets Groups Projects
Commit 21e985e8 authored by Jing Zhou's avatar Jing Zhou
Browse files

BOP gamma=1e-6, gamma=1e-3

parent 372e0f61
Branches
No related tags found
No related merge requests found
......@@ -70,7 +70,7 @@ class model:
lq.optimizers.Bop.is_binary_variable, # predicate
lq.optimizers.Bop(threshold=1e-6, gamma=1e-3), # optimizer
),
default_optimizer=None,
default_optimizer=tf.keras.optimizers.Adam(0.001),
) # Case Bop optimizer
self.model.compile(optimizer=case_optimizer, loss='binary_crossentropy')
def Summary(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment