Update README.md
Browse files
README.md
CHANGED
|
@@ -130,7 +130,7 @@ A large-scale magazine layout dataset with fine-grained layout annotations and k
|
|
| 130 |
|
| 131 |
### Data Instances
|
| 132 |
|
| 133 |
-
To use Magazine dataset, you need to download the image and layout annotations from the [OneDrive](https://portland-my.sharepoint.com/:f:/g/personal/xqiao6-c_my_cityu_edu_hk/EhmRh5SFoQ9Hjl_aRjCOltkBKFYefiSagR6QLJ7pWvs3Ww?e=y8HO5Q) in the [official page](https://xtqiao.com/projects/content_aware_layout/).
|
| 134 |
Then place the downloaded files in the following structure and specify its path.
|
| 135 |
|
| 136 |
```shell
|
|
@@ -146,6 +146,12 @@ dataset = ds.load_dataset(
|
|
| 146 |
path="shunk031/Magazine",
|
| 147 |
data_dir="/path/to/datasets/", # Specify the path of the downloaded directory.
|
| 148 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 149 |
```
|
| 150 |
|
| 151 |
### Data Fields
|
|
@@ -212,7 +218,34 @@ dataset = ds.load_dataset(
|
|
| 212 |
|
| 213 |
### Licensing Information
|
| 214 |
|
| 215 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 216 |
|
| 217 |
### Citation Information
|
| 218 |
|
|
|
|
| 130 |
|
| 131 |
### Data Instances
|
| 132 |
|
| 133 |
+
<!-- To use Magazine dataset, you need to download the image and layout annotations from the [OneDrive](https://portland-my.sharepoint.com/:f:/g/personal/xqiao6-c_my_cityu_edu_hk/EhmRh5SFoQ9Hjl_aRjCOltkBKFYefiSagR6QLJ7pWvs3Ww?e=y8HO5Q) in the [official page](https://xtqiao.com/projects/content_aware_layout/).
|
| 134 |
Then place the downloaded files in the following structure and specify its path.
|
| 135 |
|
| 136 |
```shell
|
|
|
|
| 146 |
path="shunk031/Magazine",
|
| 147 |
data_dir="/path/to/datasets/", # Specify the path of the downloaded directory.
|
| 148 |
)
|
| 149 |
+
``` -->
|
| 150 |
+
|
| 151 |
+
```python
|
| 152 |
+
import datasets as ds
|
| 153 |
+
|
| 154 |
+
dataset = ds.load_dataset("creative-graphic-design/Magazine")
|
| 155 |
```
|
| 156 |
|
| 157 |
### Data Fields
|
|
|
|
| 218 |
|
| 219 |
### Licensing Information
|
| 220 |
|
| 221 |
+
```
|
| 222 |
+
Copyright (c) 2019, Xiaotian Qiao
|
| 223 |
+
All rights reserved.
|
| 224 |
+
|
| 225 |
+
This code is copyrighted by the authors and is for non-commercial research
|
| 226 |
+
purposes only.
|
| 227 |
+
|
| 228 |
+
Redistribution and use in source and binary forms, with or without
|
| 229 |
+
modification, are permitted provided that the following conditions are met:
|
| 230 |
+
|
| 231 |
+
* Redistributions of source code must retain the above copyright notice, this
|
| 232 |
+
list of conditions and the following disclaimer.
|
| 233 |
+
|
| 234 |
+
* Redistributions in binary form must reproduce the above copyright notice,
|
| 235 |
+
this list of conditions and the following disclaimer in the documentation
|
| 236 |
+
and/or other materials provided with the distribution.
|
| 237 |
+
|
| 238 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
| 239 |
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 240 |
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
| 241 |
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
| 242 |
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
| 243 |
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
| 244 |
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
| 245 |
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
| 246 |
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 247 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 248 |
+
```
|
| 249 |
|
| 250 |
### Citation Information
|
| 251 |
|