Skip to content

Commit 7544abb

Browse files
committed
Fixed hardcoded number of epochs
1 parent 6bd5e71 commit 7544abb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/vision/nl_image_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ def test_step(self, features):
574574

575575
history = dual_encoder.fit(
576576
train_dataset,
577-
epochs=5,
577+
epochs=num_epochs,
578578
validation_data=valid_dataset,
579579
callbacks=[reduce_lr, model_checkpoint_callback],
580580
)

0 commit comments

Comments
 (0)