Skip to content

TensorBoardOutput's resource is not cleaned up nicely #28

@zhanpenghe

Description

@zhanpenghe

When using the logger with tensorboard, it will hang if we don't call logger.remove_all(). Here is a simple snippet for reproduce it:

import dowel
from dowel import logger

logger.add_output(dowel.TensorBoardOutput(log_dir))

This is mostly due to tensorboardX.SummaryWriter failed to clean up its resource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions