Spaces:
Running
Running
Update constants.py
Browse files- constants.py +64 -66
constants.py
CHANGED
|
@@ -8,72 +8,70 @@ MODEL_INFO = [
|
|
| 8 |
"Semantic Score",
|
| 9 |
]
|
| 10 |
TASK_INFO = [
|
| 11 |
-
"subject
|
| 12 |
-
"background
|
| 13 |
-
"temporal
|
| 14 |
-
"motion
|
| 15 |
-
"aesthetic
|
| 16 |
-
"imaging
|
| 17 |
-
"dynamic
|
| 18 |
-
"object
|
| 19 |
-
"multiple
|
| 20 |
-
"human
|
| 21 |
"color",
|
| 22 |
-
"spatial
|
| 23 |
"scene",
|
| 24 |
-
"appearance
|
| 25 |
-
"temporal
|
| 26 |
-
"overall
|
| 27 |
|
| 28 |
DEFAULT_INFO = [
|
| 29 |
-
"subject
|
| 30 |
-
"background
|
| 31 |
-
"temporal
|
| 32 |
-
"motion
|
| 33 |
-
"aesthetic
|
| 34 |
-
"imaging
|
| 35 |
]
|
| 36 |
|
| 37 |
QUALITY_LIST = [
|
| 38 |
-
"subject
|
| 39 |
-
"background
|
| 40 |
-
"temporal
|
| 41 |
-
"motion
|
| 42 |
-
"aesthetic
|
| 43 |
-
"imaging
|
| 44 |
-
"dynamic
|
| 45 |
|
| 46 |
SEMANTIC_LIST = [
|
| 47 |
-
"object
|
| 48 |
-
"multiple
|
| 49 |
-
"human
|
| 50 |
"color",
|
| 51 |
-
"spatial
|
| 52 |
"scene",
|
| 53 |
-
"appearance
|
| 54 |
-
"temporal
|
| 55 |
-
"overall
|
| 56 |
]
|
| 57 |
|
| 58 |
DIM_WEIGHT = {
|
| 59 |
-
|
| 60 |
-
"
|
| 61 |
-
"
|
| 62 |
-
"
|
| 63 |
-
"
|
| 64 |
-
"
|
| 65 |
-
"
|
| 66 |
-
"
|
| 67 |
-
"
|
| 68 |
-
"
|
| 69 |
-
"human\\naction":1,
|
| 70 |
"color":1,
|
| 71 |
-
"spatial
|
| 72 |
"scene":1,
|
| 73 |
-
"appearance
|
| 74 |
-
"temporal
|
| 75 |
-
"overall
|
| 76 |
-
|
| 77 |
}
|
| 78 |
|
| 79 |
DATA_TITILE_TYPE = ['markdown', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number']
|
|
@@ -113,20 +111,20 @@ CITATION_BUTTON_TEXT = r"""@article{huang2023vbench,
|
|
| 113 |
}"""
|
| 114 |
|
| 115 |
NORMALIZE_DIC = {
|
| 116 |
-
|
| 117 |
-
"background
|
| 118 |
-
"temporal
|
| 119 |
-
"motion
|
| 120 |
-
"dynamic
|
| 121 |
-
"aesthetic
|
| 122 |
-
"imaging
|
| 123 |
-
"object
|
| 124 |
-
"multiple
|
| 125 |
-
"human
|
| 126 |
-
"color": {"Min": 0.0, "Max": 1.0},
|
| 127 |
-
"spatial
|
| 128 |
-
"scene": {"Min": 0.0, "Max": 0.8222},
|
| 129 |
-
"appearance
|
| 130 |
-
"temporal
|
| 131 |
-
"overall
|
| 132 |
}
|
|
|
|
| 8 |
"Semantic Score",
|
| 9 |
]
|
| 10 |
TASK_INFO = [
|
| 11 |
+
"subject consistency",
|
| 12 |
+
"background consistency",
|
| 13 |
+
"temporal flickering",
|
| 14 |
+
"motion smoothness",
|
| 15 |
+
"aesthetic quality",
|
| 16 |
+
"imaging quality",
|
| 17 |
+
"dynamic degree",
|
| 18 |
+
"object class",
|
| 19 |
+
"multiple objects",
|
| 20 |
+
"human action",
|
| 21 |
"color",
|
| 22 |
+
"spatial relationship",
|
| 23 |
"scene",
|
| 24 |
+
"appearance style",
|
| 25 |
+
"temporal style",
|
| 26 |
+
"overall consistency"]
|
| 27 |
|
| 28 |
DEFAULT_INFO = [
|
| 29 |
+
"subject consistency",
|
| 30 |
+
"background consistency",
|
| 31 |
+
"temporal flickering",
|
| 32 |
+
"motion smoothness",
|
| 33 |
+
"aesthetic quality",
|
| 34 |
+
"imaging quality",
|
| 35 |
]
|
| 36 |
|
| 37 |
QUALITY_LIST = [
|
| 38 |
+
"subject consistency",
|
| 39 |
+
"background consistency",
|
| 40 |
+
"temporal flickering",
|
| 41 |
+
"motion smoothness",
|
| 42 |
+
"aesthetic quality",
|
| 43 |
+
"imaging quality",
|
| 44 |
+
"dynamic degree",]
|
| 45 |
|
| 46 |
SEMANTIC_LIST = [
|
| 47 |
+
"object class",
|
| 48 |
+
"multiple objects",
|
| 49 |
+
"human action",
|
| 50 |
"color",
|
| 51 |
+
"spatial relationship",
|
| 52 |
"scene",
|
| 53 |
+
"appearance style",
|
| 54 |
+
"temporal style",
|
| 55 |
+
"overall consistency"
|
| 56 |
]
|
| 57 |
|
| 58 |
DIM_WEIGHT = {
|
| 59 |
+
"subject consistency":1,
|
| 60 |
+
"background consistency":1,
|
| 61 |
+
"temporal flickering":1,
|
| 62 |
+
"motion smoothness":1,
|
| 63 |
+
"aesthetic quality":1,
|
| 64 |
+
"imaging quality":1,
|
| 65 |
+
"dynamic degree":0.5,
|
| 66 |
+
"object class":1,
|
| 67 |
+
"multiple objects":1,
|
| 68 |
+
"human action":1,
|
|
|
|
| 69 |
"color":1,
|
| 70 |
+
"spatial relationship":1,
|
| 71 |
"scene":1,
|
| 72 |
+
"appearance style":1,
|
| 73 |
+
"temporal style":1,
|
| 74 |
+
"overall consistency":1
|
|
|
|
| 75 |
}
|
| 76 |
|
| 77 |
DATA_TITILE_TYPE = ['markdown', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number', 'number']
|
|
|
|
| 111 |
}"""
|
| 112 |
|
| 113 |
NORMALIZE_DIC = {
|
| 114 |
+
"subject consistency": {"Min": 0.1462, "Max": 1.0},
|
| 115 |
+
"background consistency": {"Min": 0.2615, "Max": 1.0},
|
| 116 |
+
"temporal flickering": {"Min": 0.6293, "Max": 1.0},
|
| 117 |
+
"motion smoothness": {"Min": 0.706, "Max": 0.9975},
|
| 118 |
+
"dynamic degree": {"Min": 0.0, "Max": 1.0},
|
| 119 |
+
"aesthetic quality": {"Min": 0.0, "Max": 1.0},
|
| 120 |
+
"imaging quality": {"Min": 0.0, "Max": 1.0},
|
| 121 |
+
"object class": {"Min": 0.0, "Max": 1.0},
|
| 122 |
+
"multiple objects": {"Min": 0.0, "Max": 1.0},
|
| 123 |
+
"human action": {"Min": 0.0, "Max": 1.0},
|
| 124 |
+
"color": {"Min": 0.0, "Max": 1.0},
|
| 125 |
+
"spatial relationship": {"Min": 0.0, "Max": 1.0},
|
| 126 |
+
"scene": {"Min": 0.0, "Max": 0.8222},
|
| 127 |
+
"appearance style": {"Min": 0.0009, "Max": 0.2855},
|
| 128 |
+
"temporal style": {"Min": 0.0, "Max": 0.364},
|
| 129 |
+
"overall consistency": {"Min": 0.0, "Max": 0.364}
|
| 130 |
}
|