remove comments

This commit is contained in:
Cadene 2024-02-22 12:15:14 +00:00
parent e3643d6146
commit 96c53ad06f
1 changed files with 0 additions and 10 deletions

View File

@ -146,7 +146,6 @@ class Logger(object):
print(colored("Logs will be saved locally.", "yellow", attrs=["bold"])) print(colored("Logs will be saved locally.", "yellow", attrs=["bold"]))
self._wandb = None self._wandb = None
else: else:
# try:
os.environ["WANDB_SILENT"] = "true" os.environ["WANDB_SILENT"] = "true"
import wandb import wandb
@ -168,15 +167,6 @@ class Logger(object):
) )
print(colored("Logs will be synced with wandb.", "blue", attrs=["bold"])) print(colored("Logs will be synced with wandb.", "blue", attrs=["bold"]))
self._wandb = wandb self._wandb = wandb
# except:
# print(
# colored(
# "Warning: failed to init wandb. Make sure `wandb_entity` is set to your username in `config.yaml`. Logs will be saved locally.",
# "yellow",
# attrs=["bold"],
# )
# )
# self._wandb = None
self._video = ( self._video = (
VideoRecorder(self._log_dir, self._wandb) VideoRecorder(self._log_dir, self._wandb)
if self._wandb and cfg.save_video if self._wandb and cfg.save_video