Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行报ConnectionError #2

Open
hatleon opened this issue May 17, 2018 · 2 comments
Open

运行报ConnectionError #2

hatleon opened this issue May 17, 2018 · 2 comments

Comments

@hatleon
Copy link

hatleon commented May 17, 2018

(1)你好,运行你的代码报 [Errno 111] 。我是新建data文件夹,然后把FB15K文件夹拷贝过去。运行指令为:transE_pytorch.py -d FB15k -np 1 。我看了你的transE配置参数没看到相关HTTPConnection。升级了requests包也没用;

(2)错误提示行:trainCurve = agent.register(trainHyperparameters, 'train loss', overwrite=True)
r = requests.get(url, auth = self.auth, data = data);

(3)错误内容:requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=5000): Max retries exceeded with url: /register (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fdf7c5909b0>: Failed to establish a new connection: [Errno 111] Connection refused',))。

@jimmywangheng
Copy link
Owner

你好,可能是你运行的时候未打开hyperboard。
hyperboard的启动方法为:打开终端,输入hyperboard-run --port 端口号。
更多关于hyperboard的安装与使用,请参考https://github.com/WarBean/hyperboard

@hatleon
Copy link
Author

hatleon commented May 18, 2018

(1)谢谢 @jimmywangheng 运行hyperboard-run打开了server;

(2)默认会在当前文件夹生成很多record文件,所以新建一个空文件夹再运行hyperboard-run指令;

(3)报一些错误HyperBorad agent failed to append: record is already deleted!,可能的解决是新建空文件夹再运行hyperboard-run。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants