Spaces:
Runtime error
Runtime error
update metric
Browse files- __pycache__/db.cpython-310.pyc +0 -0
- app.py +5 -5
__pycache__/db.cpython-310.pyc
CHANGED
|
Binary files a/__pycache__/db.cpython-310.pyc and b/__pycache__/db.cpython-310.pyc differ
|
|
|
app.py
CHANGED
|
@@ -3,13 +3,13 @@ from functools import partial
|
|
| 3 |
import random
|
| 4 |
import os
|
| 5 |
from db import send_message_to_mongodb
|
| 6 |
-
all_property = ['artifact', 'color', '
|
| 7 |
property_dict = {
|
| 8 |
-
'artifact': '
|
| 9 |
-
'color': 'has pleasant color',
|
| 10 |
-
'noise': 'is less noisy',
|
| 11 |
'lightness': 'is well illuminated',
|
| 12 |
-
'blury': 'has sharp and clear texture'
|
|
|
|
| 13 |
}
|
| 14 |
methods = ['IMGS_Bread', 'IMGS_iat', 'retinexformer_png', 'images', 'IMGS_Kind', 'IMGS_ZeroDCE', 'IMGS_nerco', 'IMGS_quadprior']
|
| 15 |
method_dict = {
|
|
|
|
| 3 |
import random
|
| 4 |
import os
|
| 5 |
from db import send_message_to_mongodb
|
| 6 |
+
all_property = ['artifact', 'color', 'lightness', 'blury', 'overall']
|
| 7 |
property_dict = {
|
| 8 |
+
'artifact': 'has less artifact or noise',
|
| 9 |
+
'color': 'has more pleasant color',
|
|
|
|
| 10 |
'lightness': 'is well illuminated',
|
| 11 |
+
'blury': 'has sharp and clear texture',
|
| 12 |
+
'overall': 'is more visually plansant'
|
| 13 |
}
|
| 14 |
methods = ['IMGS_Bread', 'IMGS_iat', 'retinexformer_png', 'images', 'IMGS_Kind', 'IMGS_ZeroDCE', 'IMGS_nerco', 'IMGS_quadprior']
|
| 15 |
method_dict = {
|