Skip to content

Commit

Permalink
update README and install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
muhanzhang committed Sep 14, 2018
1 parent 46da136 commit 40dafc8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
Binary file added Python/.nfs00000000003b23f70000002e
Binary file not shown.
7 changes: 5 additions & 2 deletions Python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@ About

Python version of SEAL (learning from Subgraphs, Embeddings, and Attributes for Link prediction).


Installation
------------

Please download our [\[pytorch_DGCNN software\]](https://github.com/muhanzhang/pytorch_DGCNN) to the same level as the root SEAL folder (not this Python folder). DGCNN is the default graph neural network in SEAL.
Type

bash ./install.sh

Install pytorch_DGCNN according to its instruction.
to install the required software and libraries. It will download and install the default graph neural network software [\[pytorch_DGCNN\]](https://github.com/muhanzhang/pytorch_DGCNN) to the same level as the root SEAL folder (not this Python folder).


Usages
Expand Down
14 changes: 9 additions & 5 deletions Python/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@

cd ../../
git clone https://github.com/muhanzhang/pytorch_DGCNN
cd pytorch_DGCNN-master
cd pytorch_DGCNN
unzip pytorch_structure2vec-master.zip
cd pytorch_structure2vec-master/s2vlib/
cd pytorch_structure2vec-master/s2v_lib/
make -j4
cd SEAL/Python


cd ../../../SEAL/Python
pip install --user numpy
pip install --user scipy
pip install --user networkx
pip install --user tqdm
pip install --user sklearn
pip install --user gensim

0 comments on commit 40dafc8

Please sign in to comment.