1. 程式人生 > >pytorch視覺化工具visdom啟動失敗 坑坑坑

pytorch視覺化工具visdom啟動失敗 坑坑坑

python -m visdom.server

出現問題

1、Connection refused
2、能正常啟動,但是利用瀏覽器進入localhost:8079之後,看不到Environment、View等tools items
這裡寫圖片描述

解決方式

1、註釋掉visdom 包下,找到server.py,註釋掉download_scripts()
http://blog.csdn.net/qq_22194315/article/details/78827185
2、經過1的處理可能存在能正常啟動,但是利用瀏覽器進入localhost:8079之後,看不到Environment、View等tools items

https://github.com/chenyuntc/pytorch-book
3、可能出現情況,但是利用瀏覽器進入localhost:8079之後,看不到Environment、View等tools items
注意,替換掉visdom中的index.html之前,先將其儲存,稍後可能會用到
利用陳雲大佬的提供的index.html替換掉替換掉visdom中的index.html後,執行一次

python -m visdom.server

如果出現利用瀏覽器進入localhost:8079之後,看不到Environment、View等tools items,利用之前儲存的原裝index.html

重新替換陳雲大佬的index.html。然後重新執行,就應該沒問題了。(兩次親測,有效)