Skip to content
This repository was archived by the owner on Nov 21, 2023. It is now read-only.
This repository was archived by the owner on Nov 21, 2023. It is now read-only.

unable to visualize the network with pydot #384

Open
@twmht

Description

@twmht

Hi,

I want to visualize FPN network with pydot. I add the rendering process after creating the network.

def create_model():
    """Build the model and look for saved model checkpoints in case we can
    resume from one.
    """
    # skip many lines
    logger.info('Building model: {}'.format(cfg.MODEL.TYPE))
    model = model_builder.create(cfg.MODEL.TYPE, train=True)

    # rendering the graph
    graph = net_drawer.GetPydotGraph(model.net)
    graph.write_png('network.png')

    return model, weights_file, start_iter, checkpoints, output_dir

but pydot get stuck at write_png without throwing errors.

any idea?

thank you.

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