From d0029bae9fcdb085b62b034012640f5e23b7aee7 Mon Sep 17 00:00:00 2001 From: luigiba Date: Mon, 5 Aug 2019 20:25:50 +0200 Subject: [PATCH] Parallelized Link Prediction --- .idea/misc.xml | 2 +- .idea/modules.xml | 2 +- .idea/vcs.xml | 2 +- .idea/workspace.xml | 456 ++------------ Config.py | 576 ++++++++++++++---- OpenKE_new_Spark.iml => OpenKEonSpark.iml | 2 +- __pycache__/Config.cpython-36.pyc | Bin 18420 -> 26845 bytes .../distribute_training.cpython-36.pyc | Bin 7691 -> 7780 bytes base/Base.cpp | 5 - base/Setting.h | 9 - base/Test.h | 263 ++------ commands.txt | 46 ++ distribute_training.py | 231 +++---- gpu_info.py | 186 ++++++ main_spark.py | 96 +-- release/Base.so | Bin 74416 -> 60424 bytes run.sh | 249 -------- run_dbpedia_10.sh | 43 ++ run_dbpedia_15.sh | 43 ++ run_dbpedia_5.sh | 43 ++ test.py | 31 + test_1.py | 32 + 22 files changed, 1152 insertions(+), 1165 deletions(-) rename OpenKE_new_Spark.iml => OpenKEonSpark.iml (87%) create mode 100644 commands.txt create mode 100644 gpu_info.py delete mode 100644 run.sh create mode 100644 run_dbpedia_10.sh create mode 100644 run_dbpedia_15.sh create mode 100644 run_dbpedia_5.sh create mode 100644 test.py create mode 100644 test_1.py diff --git a/.idea/misc.xml b/.idea/misc.xml index 4c1170f..4938f72 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml index 80f322d..8a0e011 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml index 94a25f7..35eb1dd 100644 --- a/.idea/vcs.xml +++ b/.idea/vcs.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index ea9b0b8..35e178a 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,8 +1,21 @@ - - + + + + + + + + + + + + + + + - - - - - - - - - - head_lef - head_rig - tail_rig - bern - get_similar_entites - summary_op - _global_step_tensor - config - argv - TODO - def set_mode - return - batch_h_addr - res_pos - corrupt_head - early_stop_stopping_setp - rand_max - valid_ - corrupt - tail_lef - tail_type - trainList - judgeHeadBatch - tripleTotal - rand - corrupt( - setConstrainFlag - getTripleTotal - std - workThreads - - - - + + - - - - - - - - - - - - - - - - - - - - -