I am getting an error on the trainer.train() step.
Error Traceback (most recent call last)
/tmp/ipython-input-4032920361.py in <cell line: 0>()
----> 1 trainer.train()
7 frames
/usr/local/lib/python3.12/dist-packages/wandb/sdk/lib/preinit.py in preinit_wrapper(*args, **kwargs)
34 ) -> Callable:
35 def preinit_wrapper(*args: Any, **kwargs: Any) -> Any:
---> 36 raise wandb.Error(f"You must call wandb.init() before {name}()")
37
38 preinit_wrapper.__name__ = str(name)
Error: You must call wandb.init() before wandb.log()
What is wanb.init(), how do I fix it ?