-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
❓ Question
How can we make it work through custom logger? I am using custom logger for custom callback and do want to have my logs show up in wandb using tensorboard.
I saw it being mentioned in #1997 but that doesn't help much.
class CustomLogger(Logger):
def __init__(self, folder: Optional[str], output_formats: list[KVWriter]):
super(CustomLogger, self).__init__(folder, output_formats)
def dump(self, step: int = 0) -> None:
"""
Write all of the diagnostics from the current iteration without clearing the stored values.
"""
if self.level == DISABLED:
return
for _format in self.output_formats:
if isinstance(_format, KVWriter):
_format.write(self.name_to_value, self.name_to_excluded, step)Checklist
- I have checked that there is no similar issue in the repo
- I have read the documentation
- If code there is, it is minimal and working
- If code there is, it is formatted using the markdown code blocks for both code and stack traces.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested