Bootstrap

[WinError 10061] 由于目标计算机积极拒绝,无法连接。

问题:在运行cyclegan代码时遇到一个报错:requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8097): Max retries exceeded with url: /env/main (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000002D12F9A33C8>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。'))

解决:在train_options.py文件里把'display_id'参数修改为0

;