Spaces:
No application file
No application file
deploy: 1ece3feb089b4991bac2507ad851e3ca15b8de38
Browse files- layout_overlap.py +8 -10
layout_overlap.py
CHANGED
@@ -6,17 +6,15 @@ import numpy as np
|
|
6 |
import numpy.typing as npt
|
7 |
|
8 |
_DESCRIPTION = """\
|
9 |
-
|
10 |
"""
|
11 |
|
12 |
_CITATION = """\
|
13 |
-
@inproceedings{
|
14 |
-
title={
|
15 |
-
author={
|
16 |
-
booktitle={
|
17 |
-
|
18 |
-
year={2020},
|
19 |
-
organization={Springer}
|
20 |
}
|
21 |
|
22 |
@article{li2020attribute,
|
@@ -73,8 +71,8 @@ class LayoutOverlap(evaluate.Metric):
|
|
73 |
}
|
74 |
),
|
75 |
codebase_urls=[
|
76 |
-
"https://github.com/ktrk115/const_layout/blob/master/metric.py#
|
77 |
-
"https://github.com/CyberAgentAILab/layout-dm/blob/main/src/trainer/trainer/helpers/metric.py#
|
78 |
],
|
79 |
)
|
80 |
|
|
|
6 |
import numpy.typing as npt
|
7 |
|
8 |
_DESCRIPTION = """\
|
9 |
+
some overlap metrics that are different to each other in previous works.
|
10 |
"""
|
11 |
|
12 |
_CITATION = """\
|
13 |
+
@inproceedings{li2018layoutgan,
|
14 |
+
title={LayoutGAN: Generating Graphic Layouts with Wireframe Discriminators},
|
15 |
+
author={Li, Jianan and Yang, Jimei and Hertzmann, Aaron and Zhang, Jianming and Xu, Tingfa},
|
16 |
+
booktitle={International Conference on Learning Representations},
|
17 |
+
year={2019}
|
|
|
|
|
18 |
}
|
19 |
|
20 |
@article{li2020attribute,
|
|
|
71 |
}
|
72 |
),
|
73 |
codebase_urls=[
|
74 |
+
"https://github.com/ktrk115/const_layout/blob/master/metric.py#L138-L164",
|
75 |
+
"https://github.com/CyberAgentAILab/layout-dm/blob/main/src/trainer/trainer/helpers/metric.py#L150-L203",
|
76 |
],
|
77 |
)
|
78 |
|