Spaces:
Runtime error
Runtime error
Update constants.py
Browse files- constants.py +50 -50
constants.py
CHANGED
|
@@ -8,70 +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 |
-
"subject
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 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']
|
|
|
|
| 8 |
"Semantic Score",
|
| 9 |
]
|
| 10 |
TASK_INFO = [
|
| 11 |
+
"subject\nconsistency",
|
| 12 |
+
"background\nconsistency",
|
| 13 |
+
"temporal\nflickering",
|
| 14 |
+
"motion\nsmoothness",
|
| 15 |
+
"aesthetic\nquality",
|
| 16 |
+
"imaging\nquality",
|
| 17 |
+
"dynamic\ndegree",
|
| 18 |
+
"object\nclass",
|
| 19 |
+
"multiple\nobjects",
|
| 20 |
+
"human\naction",
|
| 21 |
"color",
|
| 22 |
+
"spatial\nrelationship",
|
| 23 |
"scene",
|
| 24 |
+
"appearance\nstyle",
|
| 25 |
+
"temporal\nstyle",
|
| 26 |
+
"overall\nconsistency"]
|
| 27 |
|
| 28 |
DEFAULT_INFO = [
|
| 29 |
+
"subject\nconsistency",
|
| 30 |
+
"background\nconsistency",
|
| 31 |
+
"temporal\nflickering",
|
| 32 |
+
"motion\nsmoothness",
|
| 33 |
+
"aesthetic\nquality",
|
| 34 |
+
"imaging\nquality",
|
| 35 |
]
|
| 36 |
|
| 37 |
QUALITY_LIST = [
|
| 38 |
+
"subject\nconsistency",
|
| 39 |
+
"background\nconsistency",
|
| 40 |
+
"temporal\nflickering",
|
| 41 |
+
"motion\nsmoothness",
|
| 42 |
+
"aesthetic\nquality",
|
| 43 |
+
"imaging\nquality",
|
| 44 |
+
"dynamic\ndegree",]
|
| 45 |
|
| 46 |
SEMANTIC_LIST = [
|
| 47 |
+
"object\nclass",
|
| 48 |
+
"multiple\nobjects",
|
| 49 |
+
"human\naction",
|
| 50 |
"color",
|
| 51 |
+
"spatial\nrelationship",
|
| 52 |
"scene",
|
| 53 |
+
"appearance\nstyle",
|
| 54 |
+
"temporal\nstyle",
|
| 55 |
+
"overall\nconsistency"
|
| 56 |
]
|
| 57 |
|
| 58 |
DIM_WEIGHT = {
|
| 59 |
+
"subject\nconsistency":1,
|
| 60 |
+
"background\nconsistency":1,
|
| 61 |
+
"temporal\nflickering":1,
|
| 62 |
+
"motion\nsmoothness":1,
|
| 63 |
+
"aesthetic\nquality":1,
|
| 64 |
+
"imaging\nquality":1,
|
| 65 |
+
"dynamic\ndegree":0.5,
|
| 66 |
+
"object\nclass":1,
|
| 67 |
+
"multiple\nobjects":1,
|
| 68 |
+
"human\naction":1,
|
| 69 |
+
"color":1,
|
| 70 |
+
"spatial\nrelationship":1,
|
| 71 |
+
"scene":1,
|
| 72 |
+
"appearance\nstyle":1,
|
| 73 |
+
"temporal\nstyle":1,
|
| 74 |
+
"overall\nconsistency":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']
|