BaiqiL commited on
Commit
a0dbd64
1 Parent(s): 385bb64

update deepfloyd sdxl images and tags files

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. genai_image.json +0 -0
  2. main.py +9 -7
  3. static/DeepFloyd_I_XL_v1/00000.jpeg +0 -0
  4. static/DeepFloyd_I_XL_v1/00001.jpeg +0 -0
  5. static/DeepFloyd_I_XL_v1/00002.jpeg +0 -0
  6. static/DeepFloyd_I_XL_v1/00003.jpeg +0 -0
  7. static/DeepFloyd_I_XL_v1/00004.jpeg +0 -0
  8. static/DeepFloyd_I_XL_v1/00005.jpeg +0 -0
  9. static/DeepFloyd_I_XL_v1/00006.jpeg +0 -0
  10. static/DeepFloyd_I_XL_v1/00007.jpeg +0 -0
  11. static/DeepFloyd_I_XL_v1/00008.jpeg +0 -0
  12. static/DeepFloyd_I_XL_v1/00009.jpeg +0 -0
  13. static/DeepFloyd_I_XL_v1/00010.jpeg +0 -0
  14. static/DeepFloyd_I_XL_v1/00011.jpeg +0 -0
  15. static/DeepFloyd_I_XL_v1/00012.jpeg +0 -0
  16. static/DeepFloyd_I_XL_v1/00013.jpeg +0 -0
  17. static/DeepFloyd_I_XL_v1/00014.jpeg +0 -0
  18. static/DeepFloyd_I_XL_v1/00015.jpeg +0 -0
  19. static/DeepFloyd_I_XL_v1/00016.jpeg +0 -0
  20. static/DeepFloyd_I_XL_v1/00017.jpeg +0 -0
  21. static/DeepFloyd_I_XL_v1/00018.jpeg +0 -0
  22. static/DeepFloyd_I_XL_v1/00019.jpeg +0 -0
  23. static/DeepFloyd_I_XL_v1/00020.jpeg +0 -0
  24. static/DeepFloyd_I_XL_v1/00021.jpeg +0 -0
  25. static/DeepFloyd_I_XL_v1/00022.jpeg +0 -0
  26. static/DeepFloyd_I_XL_v1/00023.jpeg +0 -0
  27. static/DeepFloyd_I_XL_v1/00024.jpeg +0 -0
  28. static/DeepFloyd_I_XL_v1/00025.jpeg +0 -0
  29. static/DeepFloyd_I_XL_v1/00026.jpeg +0 -0
  30. static/DeepFloyd_I_XL_v1/00027.jpeg +0 -0
  31. static/DeepFloyd_I_XL_v1/00028.jpeg +0 -0
  32. static/DeepFloyd_I_XL_v1/00029.jpeg +0 -0
  33. static/DeepFloyd_I_XL_v1/00030.jpeg +0 -0
  34. static/DeepFloyd_I_XL_v1/00031.jpeg +0 -0
  35. static/DeepFloyd_I_XL_v1/00032.jpeg +0 -0
  36. static/DeepFloyd_I_XL_v1/00033.jpeg +0 -0
  37. static/DeepFloyd_I_XL_v1/00034.jpeg +0 -0
  38. static/DeepFloyd_I_XL_v1/00035.jpeg +0 -0
  39. static/DeepFloyd_I_XL_v1/00036.jpeg +0 -0
  40. static/DeepFloyd_I_XL_v1/00037.jpeg +0 -0
  41. static/DeepFloyd_I_XL_v1/00038.jpeg +0 -0
  42. static/DeepFloyd_I_XL_v1/00039.jpeg +0 -0
  43. static/DeepFloyd_I_XL_v1/00040.jpeg +0 -0
  44. static/DeepFloyd_I_XL_v1/00041.jpeg +0 -0
  45. static/DeepFloyd_I_XL_v1/00042.jpeg +0 -0
  46. static/DeepFloyd_I_XL_v1/00043.jpeg +0 -0
  47. static/DeepFloyd_I_XL_v1/00044.jpeg +0 -0
  48. static/DeepFloyd_I_XL_v1/00045.jpeg +0 -0
  49. static/DeepFloyd_I_XL_v1/00046.jpeg +0 -0
  50. 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'] = -1
38
- data[i]['DeepFloyd_I_XL_v1_Human'] = -1
39
- data[i]['Midjourney_6_Human'] = -1
40
- data[i]['SDXL_2_1_Human'] = -1
41
- data[i]['SDXL_Base_Human'] = -1
42
- data[i]['SDXL_Turbo_Human'] = -1
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