Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
cenyk1230 committed Jul 2, 2019
1 parent 1168f7b commit acda000
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Accepted to KDD 2019 Research Track!

- Linux or macOS
- Python 3
- TensorFlow >= 1.8
- TensorFlow GPU >= 1.8
- NVIDIA GPU + CUDA cuDNN

## Getting Started
Expand Down Expand Up @@ -41,14 +41,11 @@ These datasets are sampled from the original datasets.
- YouTube contains 2,000 nodes and 1,310,617 edges. [Source](http://socialcomputing.asu.edu/datasets/YouTube)
- Alibaba contains 6,163 nodes and 17,865 edges.

You can download the preprocessed datasets by running `python scripts/download_preprocessed_data.py`. (Alibaba dataset is to be released.)
If you're in regions where Dropbox are blocked (e.g. Mainland China), try `python scripts/download_preprocessed_data.py --cn`.

### Training

#### Training on the existing datasets

You can use `./scripts/run_example.sh` or `python src/main.py --input example_data` to train GATNE-T model on the example data. (If you share the server with others or you want to use the specific GPU(s), you may need to set `CUDA_VISIBLE_DEVICES`.)
You can use `./scripts/run_example.sh` or `python src/main.py --input data/example` to train GATNE-T model on the example data. (If you share the server with others or you want to use the specific GPU(s), you may need to set `CUDA_VISIBLE_DEVICES`.)

If you want to train on the Amazon dataset, you can run `python src/main.py --input data/amazon` or `python src/main.py --input data/amazon --features data/amazon/feature.txt` to train GATNE-T model or GATNE-I model, respectively.

Expand Down
2 changes: 1 addition & 1 deletion scripts/run_example.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python src/main.py --input example_data
python src/main.py --input data/example

0 comments on commit acda000

Please sign in to comment.