Skip to content

Commit 35f2be2

Browse files
committed
Merge branch 'main' of github.com:microsoft/X-Decoder into main
2 parents 7195349 + 07e411c commit 35f2be2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

asset/INSTALL.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
### Installation
22

3+
Install dependencies:
4+
35
```sh
46
pip3 install torch torchvision
57
python -m pip install 'git+https://github.com/MaureenZOU/detectron2-xyz.git'
@@ -12,4 +14,5 @@ unzip ../xdecoder_data/coco_caption.zip -d ../xdecoder_data
1214
export PYTHONPATH=$PYTHONPATH:../xdecoder_data/coco_caption
1315
export DATASET=../xdecoder_data
1416
export PATH=$PATH:../xdecoder_data/coco_caption/jre1.8.0_321/bin
17+
python -c "import nltk; nltk.download('punkt'); nltk.download('averaged_perceptron_tagger')"
1518
```

0 commit comments

Comments
 (0)