data visualization visdom

This article addresses the problem

Browser blue screen, on top of the tool bar disappears and the lower left corner of the browser appears  File failed to load: /extensions/MathZoom.js

The required environment

This article is good that you have installed the default Anaconda , pytorch environment. My environment is:

anaconda:4.7.1

python:3.7.0

pytorch:1.4.0

 Steps

  1. Download links required documents: https: //pan.baidu.com/s/1qUPUPtixyuhgW_3WOrBrwQ

     Extraction code: c6sx

 

    2. Open the Anaconda Prompt, enter the virtual environment, my environment called pytorch, installation visdom. Command

pip install visdom 

   If you have installed visdom, ignore this step.

 

  3. Locate the file in the virtual environment visdom folder, delete or rename. Visdom replaced with the downloaded folder.

  Execute the following command in Anaconda Prompt, open visdom server.

python -m visdom.server

 

If roughly the following content appears, indicating that the server is already running.

 

 

 In this case, the browser to http: // localhost: 8097, if the following screen appears, then the current is normal.

 

 

 

 

   4. This time, then open a Anaconda Prompt (Do not close the old one, otherwise the service will be stopped). Download the demo cd into the folder, and then click Run the following command

python visdomdemo1.py

 

python visdomdemo2.py

 

python visdomdemo3.py

 

python visdomdemo4.py

 

python visdomdemo5.py

 

python visdomdemo6.py

 

在浏览器中如果出现如下内容,则说明visdom环境配置成功了。

 

 

 

Guess you like

Origin www.cnblogs.com/juicemars/p/12242329.html