|
# MuST-Bench |
|
|
|
This repository is the official implementation of MuST-Bench dataset reconstruction. |
|
|
|
>π Once all the steps are completed, the final results will be saved in the './must-bench' directory. |
|
|
|
## Requirements |
|
|
|
To install requirements: |
|
|
|
```setup |
|
pip install -r requirements.txt |
|
``` |
|
|
|
|
|
## Download Multilingual Poster Data |
|
|
|
To get the multilingual poster, run this command: |
|
|
|
``` |
|
python get_posters.py data.json |
|
``` |
|
|
|
>π Once the execution is complete, the data will be saved in the './data' directory. |
|
|
|
|
|
## Create Multilingual Pair Image Patch |
|
|
|
To get the image patch, run this command: |
|
|
|
``` |
|
python get_styleimgs.py data.json ./data |
|
``` |
|
>π Once the execution is complete, the data will be saved in the './must-bench' directory. |
|
|
|
|
|
Make multilingual pair: |
|
``` |
|
python merge_language.py US CN |
|
python merge_language.py US KR |
|
python merge_language.py US RU |
|
python merge_language.py US AR |
|
python merge_language.py US TH |
|
``` |
|
π Once the execution is complete, the pair data will be saved in the './must-bench' directory. |
|
|