Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Support summary written to HDFS#50

Open
372046933 wants to merge 2 commits intoawslabs:masterfrom
372046933:hdfs_support
Open

Support summary written to HDFS#50
372046933 wants to merge 2 commits intoawslabs:masterfrom
372046933:hdfs_support

Conversation

@372046933
Copy link

This PR supports use case below:

from mxboard import SummaryWriter
with SummaryWriter(logdir='hdfs://hdfs-nn-proxy-ns1/department/ai/user/xyz/logs') as sw:
    for i in range(10):
        # create a normal distribution with fixed mean and decreasing std
        data = mx.nd.normal(loc=0, scale=10.0/(i+1), shape=(10, 3, 8, 8))
        sw.add_histogram(tag='norml_dist', values=data, bins=200, global_step=i)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant