GaumlessGraham commited on
Commit
5a6429a
·
verified ·
1 Parent(s): 840e0f5

Update eval.py

Browse files
Files changed (1) hide show
  1. eval.py +6 -1
eval.py CHANGED
@@ -59,5 +59,10 @@ def evaluate(config, epoch, pipeline):
59
 
60
 
61
 
 
 
62
 
63
- evaluate(config, 1, config.pipeline)
 
 
 
 
59
 
60
 
61
 
62
+ def train_loop(config):
63
+ evaluate(config, 1, config.pipeline)
64
 
65
+
66
+ from accelerate import notebook_launcher
67
+ args = (config)
68
+ notebook_launcher(train_loop, args, num_processes=1)