tensorboardX icon indicating copy to clipboard operation
tensorboardX copied to clipboard

How to start a new line in text?

Open hxbai opened this issue 8 years ago • 2 comments

Hi, I want to start a new line in text, but '\n' isn't work, such as: writer.add_text('lstm', 'This is an lstm\n, This is an lstm', 0) but it will show in one line, what should I do? Thanks.

hxbai avatar Oct 04 '18 10:10 hxbai

It supports markdown: https://github.com/lanpa/tensorboardX/blob/b5ac736ff2e93dac2cd283610e309b38dd20d58d/examples/demo.py#L46 I hope that work for you.

lanpa avatar Oct 06 '18 07:10 lanpa

Thanks! That's great!

hxbai avatar Oct 07 '18 06:10 hxbai