tensorboard调用语法
时间: 2023-08-18 21:12:48 浏览: 80
回答: 要调用TensorBoard,你需要在Xhell中进入到你的虚拟环境,并运行以下代码:tensorboard --logdir="路径" --port=6006。其中,"路径"是你保存TensorBoard的路径,一般里面是events.out.tfevents.16....\[2\] 这样就可以在浏览器中监视训练的整个pipeline了。TensorBoard最早是TensorFlow中的模块,但现在已经集成到了PyTorch中,可以通过PyTorch来使用TensorBoard\[1\]\[3\]。
#### 引用[.reference_title]
- *1* *3* [Pytorch中使用TensorBoard](https://blog.csdn.net/qq_45488242/article/details/122787702)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [pytorch中tensorboard的使用](https://blog.csdn.net/qq_42019881/article/details/124439683)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文