Pytorch可视化库【hiddenlayer】【pytorchviz】
pytorchziv
pip install torchviz
会自动安装torchviz及依赖库graphviz
但是会出现无法调用的错误
报错:ExecutableNotFound: failed to execute PosixPath('dot'), make sure the Graphviz executables are on your systems' PATH
似乎pip只是安装了一个调用接口,还需要conda安装python-graphviz,最鬼畜的是,pip中是没有这个包的。。。
conda install python-graphviz

浙公网安备 33010602011771号