Linux
-
Clone the repository.
git clone https://github.com/ArchitParnami/Node2KG.git
-
Create a new conda environment by
conda create -n Node2KG python=3.6
-
Activate conda environment
conda activate Node2KG
-
Install the required packages
pip install -r requirements.txt
-
Setup this project
python setup.py develop
-
Setup OpenNE (from project root)
cd GraphEmbed/OpenNE/src
python setup.py install
-
Setup OpenKE (from project root)
cd GraphEmbed/OpenKE
mkdir release
./make.sh
-
To run the experiments
cd GraphEmbed/scripts
./run_parallel.sh