Skip to content

Commit

Permalink
add submission instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
frostinassiky committed Apr 6, 2022
1 parent 0dfec57 commit d959658
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions NLQ/2D-TAN/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,16 @@ pip install transformers

### Train && Test

To train a new model
```
python moment_localization/train.py --cfg experiments/ego4d/2D-TAN-40x40-K9L4-pool-window-std-sf.yaml --verbose
```

To generate the submission file, do
```
python moment_localization/test.py --cfg experiments/ego4d/2D-TAN-40x40-K9L4-pool-window-std-sf.yaml --verbose --split test --result nlq_2dtan_submission.json
```

## Acknowledgements

This codebase is built on [2D-TAN](https://github.com/microsoft/2D-TAN).
Expand Down

0 comments on commit d959658

Please sign in to comment.