mirror of
https://github.com/vale981/ray
synced 2025-03-08 11:31:40 -05:00
[tune] remove callbacks from config in wandb logger initialization (#10441)
This commit is contained in:
parent
6dbba847a1
commit
1dd55f4b07
1 changed files with 2 additions and 0 deletions
|
@ -260,6 +260,8 @@ class WandbLogger(Logger):
|
||||||
def _init(self):
|
def _init(self):
|
||||||
config = self.config.copy()
|
config = self.config.copy()
|
||||||
|
|
||||||
|
config.pop("callbacks", None) # Remove callbacks
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if config.get("logger_config", {}).get("wandb"):
|
if config.get("logger_config", {}).get("wandb"):
|
||||||
logger_config = config.pop("logger_config")
|
logger_config = config.pop("logger_config")
|
||||||
|
|
Loading…
Add table
Reference in a new issue