Skip to content

Visualize the generated log.json file #456

Answered by plyfager
Emily0819 asked this question in How-to
Discussion options

You must be logged in to vote

Hi @Emily0819, we hasn't provided a script for visualize json file. However, you can use visualization backend like tensorboard for your purpose. Just install tensorboard and add lines below.

log_config = dict( 
    interval=100, 
    hooks=[ 
        dict(type='TextLoggerHook'), 
        dict(type='TensorboardLoggerHook') 
    ]) 

Then train your model with commands below.

bash tools/dist_train.sh xxx
tensorboard --logdir work_dirs/xxx 

For other choices, you can refer to https://zhuanlan.zhihu.com/p/387078211

There may be some occasions that visualization backend cannot be used and a script would be better, we will appreciate it a lot if you would like to offer one.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by zengyh1900
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
How-to
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #327 on October 12, 2022 11:16.