目录

sudo apt-get install xdg-open
sudo apt-get install graphviz
pip install graphviz

use

from torchviz import make_dot 
x = Variable(torch.randn(1, 3, 300, 300))
y = net(x)
vis_graph = make_dot(y, params=dict(net.named_parameters()))
vis_graph.view()

相关文章:

  • 2022-12-23
  • 2021-12-04
  • 2021-10-21
  • 2021-07-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-16
  • 2021-10-02
  • 2022-12-23
  • 2021-08-15
  • 2021-09-17
  • 2021-12-12
相关资源
相似解决方案