Skip to content

Commit

Permalink
fix: changed reduction method
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentAuriau committed May 31, 2024
1 parent aa01645 commit 7f25fbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion choice_learn/models/base_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def __init__(
axis=-1,
epsilon=1e-35,
name="exact_categorical_crossentropy",
reduction=tf.keras.losses.Reduction.AUTO,
reduction="sum_over_batch_size",
)
self.callbacks = tf.keras.callbacks.CallbackList(callbacks, add_history=True, model=None)
self.callbacks.set_model(self)
Expand Down

0 comments on commit 7f25fbd

Please sign in to comment.