Recently collected a batch of data, want to call Cyclegan to complete the domain migration to see the effect. So I found the open source Cyclegan code on the Internet, the code can run normally, but the call to Visidom will always show an Error: HTTP Error. So record the process of my solution
Start the visdom
python -m visdom.server
Calling CMD to start visdom.server but the code will get stuck, stuck in downloading the script
To solve the caton
The reason is that the file is difficult to download. Here’s how to solve it
Find the location of the Visidom package in the current environment, roughly: ~\Lib\site-packages\visdom Open server.py and look for download_scripts and comment this line so that download_scripts() is not executed
After this operation, and then start Visidom, the model will run smoothly, and no exception thrown. But there is a problem, open the page blue screen.
To solve the blue screen
The reason for the blue screen is that it does not download properly. The solution here refers to two articles, both of which are cited in the following references
Into local visdom in static files, there is a index. The HTML files, the backup download reference (2) in the index. The HTML files, to replace the current folder has the backup index. The restart visdom HTML files, open the page, the question remains, to be the next step will be the backup of the original index. The HTML to replace the current index. The HTML restart visdom, problem solving
reference
https://blog.csdn.net/AnthongDai/article/details/79117472https://github.com/chenyuntc/pytorch-book/blob/2c8366137b691aaa8fbeeea478cc1611c09e15f5/README.md#visdom%E6%89%93%E4%B8%8D%E5%BC%80%E5%8F%8A%E5 %85%B6%E8%A7%A3%E5%86%B3%E6%96%B9%E6%A1%88
This article is the author’s original, reproduced need to indicate the source!
Read More:
- Windows solution enabled visdom.server Slow and blank blue screen (no navigation bar)
- Solution of visdom enabling problem
- Windows blue screen code query (bug check code)
- RESTORE detected an error on page (0:0) in database
- STOP: c000021a { Fatal System Error } the initial session process or system process terminated …
- Reintex index of pandas
- Fix vs2017 unable to install
- Attempt to reset the display driver and recover from timeout failed
- “An error occurred while adding a recovery system to the destination disk
- Ubuntu starts or restarts SSH service
- Error resolution of unexpected token in JSON at position 0
- Solve the problem of SQL Server limit 2G memory limit installation
- mac Upgrade: httpd: apr_sockaddr_info_get() failed for bogon
- Solution of 500 internal server error reported by [SVN] TortoiseSVN
- Aptana studio 3 installation
- TFTP: server says: file not found solution
- POI set excel cell background color (use of setfillforegrondcolor and setfillpattern)
- mysql error 1033 Incorrect information in file: ‘xxx.frm’ (Fixed)
- socket error 10035
- What to do if you repeatedly format a cluster