Update my_model/tabs/dataset_analysis.py
Browse files
my_model/tabs/dataset_analysis.py
CHANGED
@@ -246,17 +246,19 @@ class OKVQADatasetAnalyzer:
|
|
246 |
|
247 |
|
248 |
def run_dataset_analyzer():
|
249 |
-
|
250 |
-
|
251 |
-
|
|
|
|
|
252 |
save_to_csv=False)
|
253 |
-
train_data = process_okvqa_dataset(
|
254 |
save_to_csv=False)
|
255 |
|
256 |
|
257 |
|
258 |
-
dataset_analyzer = OKVQADatasetAnalyzer(
|
259 |
-
|
260 |
|
261 |
with st.container():
|
262 |
st.markdown("## Overview of KB-VQA Datasets")
|
|
|
246 |
|
247 |
|
248 |
def run_dataset_analyzer():
|
249 |
+
|
250 |
+
datasets_comparison_table = pd.read_excel(CONFIG.DATASET_ANALYSES_PATH, sheet_name="VQA Datasets Comparison")
|
251 |
+
okvqa_dataset_characteristics = pd.read_excel(CONFIG.DATASET_ANALYSES_PATH, sheet_name="OK-VQA Dataset Characteristics")
|
252 |
+
|
253 |
+
val_data = process_okvqa_dataset(config.DATASET_VAL_QUESTIONS_PATH, config.DATASET_VAL_ANNOTATIONS_PATH,
|
254 |
save_to_csv=False)
|
255 |
+
train_data = process_okvqa_dataset(config.DATASET_TRAIN_QUESTIONS_PATH, config.DATASET_TRAIN_ANNOTATIONS_PATH ,
|
256 |
save_to_csv=False)
|
257 |
|
258 |
|
259 |
|
260 |
+
dataset_analyzer = OKVQADatasetAnalyzer(config.DATASET_TRAIN_QUESTIONS_PATH,
|
261 |
+
config.DATASET_VAL_QUESTIONS_PATH, 'train_test')
|
262 |
|
263 |
with st.container():
|
264 |
st.markdown("## Overview of KB-VQA Datasets")
|