fix: linting
This commit is contained in:
parent
2f31df412b
commit
849581fcfd
3 changed files with 2 additions and 4 deletions
|
|
@ -2,8 +2,6 @@ import subprocess
|
|||
import time
|
||||
|
||||
import torch
|
||||
import tyro
|
||||
import yaml
|
||||
import os
|
||||
|
||||
from brittle_star_project.dataclasses import PPOArgs
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ from dataclasses import asdict, dataclass
|
|||
from functools import partial
|
||||
from typing import Any
|
||||
|
||||
import flax
|
||||
import jax
|
||||
import jax.numpy as jnp
|
||||
import numpy as np
|
||||
|
|
|
|||
|
|
@ -52,7 +52,8 @@ def init_wandb(
|
|||
|
||||
if not has_key and not is_interactive and os.environ.get("WANDB_MODE") != "offline":
|
||||
logger.warning(
|
||||
"WANDB_API_KEY not found and environment is non-interactive. Switching to offline mode."
|
||||
"WANDB_API_KEY not found and environment is non-interactive. "
|
||||
"Switching to offline mode."
|
||||
)
|
||||
sync_path = f"runs/{name}" if name else "runs"
|
||||
logger.warning(f"WandB is offline. Use 'wandb sync {sync_path}' to upload logs later.")
|
||||
|
|
|
|||
Reference in a new issue