mirror of
https://github.com/twitter/the-algorithm.git
synced 2025-01-07 01:48:16 +01:00
Compare commits
3 Commits
0ec0c2bc29
...
f218429159
Author | SHA1 | Date | |
---|---|---|---|
|
f218429159 | ||
|
3051db2629 | ||
|
c94f4a42b9 |
@ -387,7 +387,8 @@ class Trainer(object):
|
||||
fold=i,
|
||||
)
|
||||
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):
|
||||
self._train_single_fold(
|
||||
mb_generator=mb_generator,
|
||||
|
Loading…
Reference in New Issue
Block a user