Update README.md
Browse files
README.md
CHANGED
@@ -219,28 +219,13 @@ The language data in PKU-PosterLayout is in Chinese ([BCP-47 zh](https://www.rfc
|
|
219 |
|
220 |
### Data Instances
|
221 |
|
222 |
-
To use PKU-PosterLayout dataset, you need to download the poster image and saliency maps via [PKU Netdisk](https://disk.pku.edu.cn/link/999C6E97BB354DF8AD0F9E1F9003BE05) or [Google Drive](https://drive.google.com/drive/folders/1Gk202RVs9Qy2zbJUNeurC1CaQYNU-Vuv?usp=share_link).
|
223 |
-
|
224 |
-
```
|
225 |
-
/path/to/datasets
|
226 |
-
βββ train
|
227 |
-
β βββ inpainted_poster.zip
|
228 |
-
β βββ original_poster.zip
|
229 |
-
β βββ saliencymaps_basnet.zip
|
230 |
-
β βββ saliencymaps_pfpn.zip
|
231 |
-
βββ test
|
232 |
-
βββ image_canvas.zip
|
233 |
-
βββ saliencymaps_basnet.zip
|
234 |
-
βββ saliencymaps_pfpn.zip
|
235 |
-
```
|
236 |
-
|
237 |
```python
|
238 |
import datasets as ds
|
239 |
|
240 |
-
dataset = ds.load_dataset(
|
241 |
-
|
242 |
-
|
243 |
-
)
|
244 |
```
|
245 |
|
246 |
### Data Fields
|
|
|
219 |
|
220 |
### Data Instances
|
221 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
222 |
```python
|
223 |
import datasets as ds
|
224 |
|
225 |
+
dataset = ds.load_dataset("creative-graphic-design/PKU-PosterLayout")
|
226 |
+
|
227 |
+
# or you can download RALF (https://arxiv.org/abs/2311.13602)-style preprocessed dataset
|
228 |
+
dataset = ds.load_dataset("creative-graphic-design/PKU-PosterLayout", name="ralf-style")
|
229 |
```
|
230 |
|
231 |
### Data Fields
|