[英]Tensorboard: None Scalar Value
I'm currently struggling with a non-trivial scalar in tensorboard.我目前正在与张量板上的一个重要标量作斗争。 The only peculiarity is that sometimes it cannot be defined (ie it has None value).
唯一的特点是有时它不能被定义(即它有None值)。
I would like to see it on my tensorboard and don't find the following workarounds acceptable:我想在我的张量板上看到它,但不接受以下解决方法:
The current tensorboard API does not let me achieve what I want, so I'm all ears to your workaround suggestions.当前的张量板 API 并没有让我实现我想要的,所以我完全听从你的解决方法建议。
One of the possible solutions might be to have the shape of the tick to be different, like in the following image from this question , but I can't find the API to achieve that.一种可能的解决方案可能是使刻度线的形状不同,如下图所示,但我找不到API来实现这一点。
Thank You for Your time, looking forward to Your replies.感谢您的宝贵时间,期待您的回复。
Just write numpy.nan
and it should meet all your needs:只需编写
numpy.nan
满足您的所有需求:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.