[tune] remove callbacks from config in wandb logger initialization (#10441)

This commit is contained in:
krfricke 2020-09-01 22:26:39 +01:00 committed by GitHub
parent 6dbba847a1
commit 1dd55f4b07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -260,6 +260,8 @@ class WandbLogger(Logger):
def _init(self):
config = self.config.copy()
config.pop("callbacks", None) # Remove callbacks
try:
if config.get("logger_config", {}).get("wandb"):
logger_config = config.pop("logger_config")