tahamajs/DGM / PaperSLecturs /Generative_Codes /conditional-flow-matching /runner /src /models /utils.py
| from pytorch_lightning.loggers import WandbLogger | |
| def get_wandb_logger(loggers): | |
| """Gets the wandb logger if it is the list of loggers otherwise returns None.""" | |
| wandb_logger = None | |
| for logger in loggers: | |
| if isinstance(logger, WandbLogger): | |
| wandb_logger = logger | |
| return wandb_logger | |
Xet Storage Details
- Size:
- 321 Bytes
- Xet hash:
- 501264340b1aeedd12bd013b4c3b0e5829977651efa32bc41180501613e8836d
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.