thunlp / OpenKE

An Open-Source Package for Knowledge Embedding (KE)
3.83k stars 985 forks source link

Process finished with exit code 139 (interrupted by signal 11: SIGSEGV) #344

Closed justyyau closed 2 years ago

justyyau commented 3 years ago

Input Files Path : ./benchmarks/WN18RR/ The toolkit is importing datasets. Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)

how to deal with this problem????

FirstDiscoverer commented 2 years ago

me too ......

FirstDiscoverer commented 2 years ago

解决了,参考链接 https://issueexplorer.com/issue/thunlp/OpenKE/264

是路径的问题,把: train_dataloader = TrainDataLoader( in_path = "./benchmarks/custom/", nbatches = 100, threads = 8, sampling_mode = "normal", bern_flag = 1, filter_flag = 1, neg_ent = 25, neg_rel = 0) 中的in_path = "./benchmarks/custom/"改为in_path = "../benchmarks/custom/"就可以运行了

justyyau commented 2 years ago

好的,非常感谢