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

执行语句问题 #6

Closed
PTXXXXXZ opened this issue Jul 20, 2022 · 3 comments
Closed

执行语句问题 #6

PTXXXXXZ opened this issue Jul 20, 2022 · 3 comments

Comments

@PTXXXXXZ
Copy link

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

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

@PTXXXXXZ
Copy link
Author

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

@Modberge
Copy link
Collaborator

Modberge commented Jul 20, 2022

你好 经过测试执行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
Copy link
Author

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

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