knowledge_representation_pytorch
knowledge_representation_pytorch copied to clipboard
运行报ConnectionError
(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',))。
你好,可能是你运行的时候未打开hyperboard。 hyperboard的启动方法为:打开终端,输入hyperboard-run --port 端口号。 更多关于hyperboard的安装与使用,请参考https://github.com/WarBean/hyperboard
(1)谢谢 @jimmywangheng 运行hyperboard-run打开了server;
(2)默认会在当前文件夹生成很多record文件,所以新建一个空文件夹再运行hyperboard-run指令;
(3)报一些错误HyperBorad agent failed to append: record is already deleted!,可能的解决是新建空文件夹再运行hyperboard-run。