knowledge_representation_pytorch
knowledge_representation_pytorch copied to clipboard
Several knowledge graph representation algorithms implemented with pytorch
Traceback (most recent call last): File "transE_pytorch.py", line 255, in agent.append(trainCurve, epoch, total_loss[0]) File "/home/shan/venv/lib/python3.5/site-packages/hyperboard/agent.py", line 45, in append value = value, File "/usr/lib/python3.5/json/__init__.py", line 230, in dumps return _default_encoder.encode(obj)...
您好,我能问一下关于transE中的normloss是用来干嘛的,我看原文中好像没有这个
(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...
推荐用 [tensorboardX](https://github.com/lanpa/tensorboard-pytorch),贼好用,[手动滑稽]