Skip to content

Commit

Permalink
update dataset preparation
Browse files Browse the repository at this point in the history
  • Loading branch information
FuzhiYang committed Jun 23, 2020
1 parent a215f9a commit 1640be2
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,18 @@ sh test.sh
```
4. The results are in "save_dir" (default: `./test/demo/output`)

## Dataset prepare
1. Download [CUFED train set](https://drive.google.com/drive/folders/1hGHy36XcmSZ1LtARWmGL5OK1IUdWJi3I) and [CUFED test set](https://drive.google.com/file/d/1Fa1mopExA9YGG1RxrCZZn7QFTYXLx6ph/view)
2. Make dataset structure be:
- CUFED
- train
- input
- ref
- test
- CUFED5

## Evaluation
1. Download [CUFED](http://acsweb.ucsd.edu/~yuw176/event-curation.html) dataset and modify "dataset_dir" in eval.sh
1. Prepare CUFED dataset and modify "dataset_dir" in eval.sh
2. Download pre-trained models and modify "model_path" in eval.sh
3. Run evaluation
```
Expand All @@ -35,7 +45,7 @@ sh eval.sh
4. The results are in "save_dir" (default: `./eval/CUFED/TTSR`)

## Train
1. Download [CUFED](http://acsweb.ucsd.edu/~yuw176/event-curation.html) dataset and modify "dataset_dir" in train.sh
1. Prepare CUFED dataset and modify "dataset_dir" in train.sh
2. Run training
```
sh train.sh
Expand Down

0 comments on commit 1640be2

Please sign in to comment.