Skip to content

Commit bbc0a82

Browse files
committed
Fix conditions
1 parent 6d716ad commit bbc0a82

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

iaflow/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ def plot_history(self, history, path):
446446

447447
for idx in range(len(train_loss)):
448448
cur_val_acc = val_acc[idx]
449-
if cur_val_acc < results['val_acc']:
449+
if cur_val_acc > results['val_acc']:
450450
results['train_loss'] = train_loss[idx]
451451
results['train_acc'] = train_acc[idx]
452452
results['val_loss'] = val_loss[idx]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
setuptools.setup(
88
name="iaflow",
9-
version='2.1.13',
9+
version='2.1.14',
1010
author="Enmanuel Magallanes Pinargote",
1111
author_email="enmanuelmag@cardor.dev",
1212
description="This library help to create models with identifiers, checkpoints, logs and metadata automatically, in order to make the training process more efficient and traceable.",

0 commit comments

Comments
 (0)