Spaces:
Running
Running
update deepfloyd sdxl images and tags files
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- genai_image.json +0 -0
- main.py +9 -7
- static/DeepFloyd_I_XL_v1/00000.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00001.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00002.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00003.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00004.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00005.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00006.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00007.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00008.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00009.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00010.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00011.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00012.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00013.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00014.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00015.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00016.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00017.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00018.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00019.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00020.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00021.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00022.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00023.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00024.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00025.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00026.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00027.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00028.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00029.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00030.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00031.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00032.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00033.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00034.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00035.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00036.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00037.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00038.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00039.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00040.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00041.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00042.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00043.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00044.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00045.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00046.jpeg +0 -0
- static/DeepFloyd_I_XL_v1/00047.jpeg +0 -0
genai_image.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
main.py
CHANGED
@@ -1,11 +1,13 @@
|
|
1 |
import streamlit as st
|
2 |
import pandas as pd
|
3 |
import json
|
|
|
4 |
|
5 |
# 读取 JSON 数据
|
6 |
with open('GenAI-Bench_tags.json', 'r') as file:
|
7 |
data = json.load(file)
|
8 |
-
|
|
|
9 |
# Streamlit 页面标题
|
10 |
|
11 |
st.set_page_config(page_title="GenAI-Bench Dataset Viewer", page_icon=None, layout="wide", initial_sidebar_state="auto",
|
@@ -34,12 +36,12 @@ for i in data:
|
|
34 |
data[i]['SDXL_Base'] = f"app/static/SDXL_Base/{i}.jpeg"
|
35 |
data[i]['SDXL_Turbo'] = f"app/static/SDXL_Turbo/{i}.jpeg"
|
36 |
|
37 |
-
data[i]['DALLE_3_Human'] =
|
38 |
-
data[i]['DeepFloyd_I_XL_v1_Human'] =
|
39 |
-
data[i]['Midjourney_6_Human'] =
|
40 |
-
data[i]['SDXL_2_1_Human'] =
|
41 |
-
data[i]['SDXL_Base_Human'] =
|
42 |
-
data[i]['SDXL_Turbo_Human'] =
|
43 |
|
44 |
selected_basic = st.multiselect('Select Basic Skills:', basic_options)
|
45 |
selected_advanced = st.multiselect('Select Advanced Skills:', advanced_options)
|
|
|
1 |
import streamlit as st
|
2 |
import pandas as pd
|
3 |
import json
|
4 |
+
import numpy as np
|
5 |
|
6 |
# 读取 JSON 数据
|
7 |
with open('GenAI-Bench_tags.json', 'r') as file:
|
8 |
data = json.load(file)
|
9 |
+
with open('genai_image.json', 'r') as file:
|
10 |
+
humanRatings = json.load(file)
|
11 |
# Streamlit 页面标题
|
12 |
|
13 |
st.set_page_config(page_title="GenAI-Bench Dataset Viewer", page_icon=None, layout="wide", initial_sidebar_state="auto",
|
|
|
36 |
data[i]['SDXL_Base'] = f"app/static/SDXL_Base/{i}.jpeg"
|
37 |
data[i]['SDXL_Turbo'] = f"app/static/SDXL_Turbo/{i}.jpeg"
|
38 |
|
39 |
+
data[i]['DALLE_3_Human'] = round(np.mean(humanRatings[i]["models"]["DALLE_3"]), 1)
|
40 |
+
data[i]['DeepFloyd_I_XL_v1_Human'] = round(np.mean(humanRatings[i]["models"]["DeepFloyd_I_XL_v1"]), 1)
|
41 |
+
data[i]['Midjourney_6_Human'] = round(np.mean(humanRatings[i]["models"]["Midjourney_6"]), 1)
|
42 |
+
data[i]['SDXL_2_1_Human'] = round(np.mean(humanRatings[i]["models"]["SDXL_2_1"]), 1)
|
43 |
+
data[i]['SDXL_Base_Human'] = round(np.mean(humanRatings[i]["models"]["SDXL_Base"]), 1)
|
44 |
+
data[i]['SDXL_Turbo_Human'] = round(np.mean(humanRatings[i]["models"]["SDXL_Turbo"]), 1)
|
45 |
|
46 |
selected_basic = st.multiselect('Select Basic Skills:', basic_options)
|
47 |
selected_advanced = st.multiselect('Select Advanced Skills:', advanced_options)
|
static/DeepFloyd_I_XL_v1/00000.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00001.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00002.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00003.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00004.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00005.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00006.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00007.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00008.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00009.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00010.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00011.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00012.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00013.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00014.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00015.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00016.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00017.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00018.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00019.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00020.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00021.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00022.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00023.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00024.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00025.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00026.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00027.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00028.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00029.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00030.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00031.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00032.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00033.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00034.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00035.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00036.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00037.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00038.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00039.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00040.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00041.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00042.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00043.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00044.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00045.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00046.jpeg
CHANGED
static/DeepFloyd_I_XL_v1/00047.jpeg
CHANGED