zjukg / NeuralKG

[Tool] For Knowledge Graph Representation Learning
http://neuralkg.zjukg.org/
Apache License 2.0
348 stars 63 forks source link

执行语句问题 #6

Closed PTXXXXXZ closed 2 years ago

PTXXXXXZ commented 2 years ago

执行config命令: python main.py --load_config --config/FreeBase/ 报错: syntax error near unexpected token `newline'

执行sh: sh ./scripts/ConvE_FB.sh 报错: Can't open ./scripts/ConvE_FB.sh

PTXXXXXZ commented 2 years ago

修改语句为: python main.py --load_config --config/FreeBase/ConvE_FB15K237.yaml 只返回: Aborted

Modberge commented 2 years ago

你好 经过测试执行config命令与执行sh命令均无异常,请检查命令行语句是否正确并确保工作目录为 ~/NeuralKG 在FB15K237数据集上运行ConvE模型执行config命令: python main.py --load_config --config_path config/FreeBase/ConvE_FB15K237.yaml 执行sh命令: sh scripts/FreeBase/ConvE_FB.sh

如果您发现这个方法仍然无法解决该问题,您可以随时reopen这条issue。

PTXXXXXZ commented 2 years ago

嗯好的发现是cuda的问题,请问能不能复现一下convr