Update README.md
Browse files
README.md
CHANGED
|
@@ -1,35 +1,45 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# MuST-Bench
|
| 2 |
+
|
| 3 |
+
This repository is the official implementation of MuST-Bench dataset reconstruction.
|
| 4 |
+
|
| 5 |
+
>๐ Once all the steps are completed, the final results will be saved in the './must-bench' directory.
|
| 6 |
+
|
| 7 |
+
## Requirements
|
| 8 |
+
|
| 9 |
+
To install requirements:
|
| 10 |
+
|
| 11 |
+
```setup
|
| 12 |
+
pip install -r requirements.txt
|
| 13 |
+
```
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
## Download Multilingual Poster Data
|
| 17 |
+
|
| 18 |
+
To get the multilingual poster, run this command:
|
| 19 |
+
|
| 20 |
+
```
|
| 21 |
+
python get_posters.py data.json
|
| 22 |
+
```
|
| 23 |
+
|
| 24 |
+
>๐ Once the execution is complete, the data will be saved in the './data' directory.
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
## Create Multilingual Pair Image Patch
|
| 28 |
+
|
| 29 |
+
To get the image patch, run this command:
|
| 30 |
+
|
| 31 |
+
```
|
| 32 |
+
python get_styleimgs.py data.json ./data
|
| 33 |
+
```
|
| 34 |
+
>๐ Once the execution is complete, the data will be saved in the './must-bench' directory.
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
Make multilingual pair:
|
| 38 |
+
```
|
| 39 |
+
python merge_language.py US CN
|
| 40 |
+
python merge_language.py US KR
|
| 41 |
+
python merge_language.py US RU
|
| 42 |
+
python merge_language.py US AR
|
| 43 |
+
python merge_language.py US TH
|
| 44 |
+
```
|
| 45 |
+
๐ Once the execution is complete, the pair data will be saved in the './must-bench' directory.
|