mirror of
https://github.com/twitter/the-algorithm.git
synced 2025-01-09 02:40:42 +01:00
Merge 3051db2629
into fb54d8b549
This commit is contained in:
commit
f218429159
@ -387,7 +387,8 @@ class Trainer(object):
|
|||||||
fold=i,
|
fold=i,
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
raise ValueError("Sure you want to do multiple fold training")
|
a = input("Are you sure you want to do multiple fold training? (y/N)")
|
||||||
|
if a.lower() == "y":
|
||||||
for mb_generator, steps_per_epoch, val_data, test_data in self.mb_loader(full_df=df):
|
for mb_generator, steps_per_epoch, val_data, test_data in self.mb_loader(full_df=df):
|
||||||
self._train_single_fold(
|
self._train_single_fold(
|
||||||
mb_generator=mb_generator,
|
mb_generator=mb_generator,
|
||||||
|
Loading…
Reference in New Issue
Block a user