gagan3012 commited on
Commit
c9eec48
·
1 Parent(s): 0242c41
Files changed (1) hide show
  1. src/models/model.py +3 -3
src/models/model.py CHANGED
@@ -327,8 +327,8 @@ class Summarization:
327
  learning_rate=learning_rate, adam_epsilon=adam_epsilon, weight_decay=weight_decay
328
  )
329
 
330
- # MLlogger = MLFlowLogger(experiment_name="Summarization",
331
- # tracking_uri="https://dagshub.com/gagan3012/summarization.mlflow")
332
 
333
  WandLogger = WandbLogger(project="summarization-dagshub")
334
 
@@ -351,7 +351,7 @@ class Summarization:
351
  gpus = -1 if use_gpu and torch.cuda.is_available() else 0
352
 
353
  trainer = Trainer(
354
- logger=WandLogger,
355
  callbacks=early_stop_callback,
356
  max_epochs=max_epochs,
357
  gpus=gpus,
 
327
  learning_rate=learning_rate, adam_epsilon=adam_epsilon, weight_decay=weight_decay
328
  )
329
 
330
+ MLlogger = MLFlowLogger(experiment_name="Summarization",
331
+ tracking_uri="https://dagshub.com/gagan3012/summarization.mlflow")
332
 
333
  WandLogger = WandbLogger(project="summarization-dagshub")
334
 
 
351
  gpus = -1 if use_gpu and torch.cuda.is_available() else 0
352
 
353
  trainer = Trainer(
354
+ logger=[WandLogger, MLlogger],
355
  callbacks=early_stop_callback,
356
  max_epochs=max_epochs,
357
  gpus=gpus,