yejinc commited on
Commit
8cf3bfc
β€’
1 Parent(s): 58102e9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +45 -35
README.md CHANGED
@@ -1,35 +1,45 @@
1
- ---
2
- dataset_info:
3
- features:
4
- - name: filename
5
- dtype: string
6
- - name: id
7
- dtype: int64
8
- - name: lan1
9
- dtype: string
10
- - name: image1
11
- dtype: string
12
- - name: coords1
13
- sequence: int64
14
- - name: available1
15
- dtype: bool
16
- - name: lan2
17
- dtype: string
18
- - name: image2
19
- dtype: string
20
- - name: coords2
21
- sequence: int64
22
- - name: available2
23
- dtype: bool
24
- splits:
25
- - name: test
26
- num_bytes: 856713
27
- num_examples: 1119
28
- download_size: 199065
29
- dataset_size: 856713
30
- configs:
31
- - config_name: default
32
- data_files:
33
- - split: test
34
- path: data/test-*
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.