Skip to content

How can I use summaries with tensorlayer #29

@nina124

Description

@nina124

Tensorboard is really powerful in tracking the training process. Currently, does tensorlayer support summaries?
E.g. with the netwrok stacked by several tensorlayers , I want to use histogram_summary to view the last layer's activation and use scalar_summary to record the sparsity rate of last layer's activation by tf.nn.zero_fraction.
I tried the following code in a wish to achieve the above purpose, but failed.

tf.histogram_summary(tensor_name + '_activations', network.output) tf.scalar_summary(tensor_name + '_sparsity', tf.nn.zero_fraction(network.output))

If there is any way to track the summaries with tensorlayer, please notify me. And if there is none, could you add this support in tensorlayer?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions