visdom安裝及出現Downloading scripts, this may take a little while解決辦法


1. 安裝,通過以下命令

1 pip install visdom

2. 啟動visdom

1 python -m visdom.server

3. 啟動visdom時出現了以下問題:

Downloading scripts, this may take a little while

一直卡着不動,各種百度,親測解決方法如下

3.1 找到visdom安裝位置,我的路徑為D:\Anaconda3\Lib\site-packages\visdom,打開sever.py

3.2 修改server.py文件,在函數download_scripts_and_run下注釋掉download_scripts(),第1917行。

 

 3.3 在路徑D:\Anaconda3\Lib\site-packages\visdom下直接替換static文件夾

 

 3.4 正常啟動即可,python -m visdom.server。

 查看得到的繪制圖像地址為 http://localhost:8097

 

參考:visdom服務啟動時提示Downloading scripts, this may take a little while解決辦法_清歡渡-CSDN博客

注:static文件夾需要重新下載。

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM