Fix wandb import issue
This commit is contained in:
parent
103a88506e
commit
fa908a6a15
|
@ -270,6 +270,7 @@ class Trainer:
|
||||||
for ek, ev in eval_dict.items():
|
for ek, ev in eval_dict.items():
|
||||||
self.tb_logger.add_scalar(ek, ev, self.current_step)
|
self.tb_logger.add_scalar(ek, ev, self.current_step)
|
||||||
if opt['wandb']:
|
if opt['wandb']:
|
||||||
|
import wandb
|
||||||
wandb.log(eval_dict)
|
wandb.log(eval_dict)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user