Spaces:
Sleeping
Sleeping
File size: 2,997 Bytes
643df5e a9077a1 3f4c8b2 a9077a1 643df5e a9077a1 3f4c8b2 a9077a1 643df5e a9077a1 643df5e a9077a1 643df5e a9077a1 3f4c8b2 a9077a1 643df5e a9077a1 643df5e a9077a1 e34c7ff a9077a1 e34c7ff a9077a1 3f4c8b2 a9077a1 e34c7ff a9077a1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
Directory Overview: This directory contains all the atreamlit application pages: ################################################################################################################################ ## 1. home.py the `home.py` displays an introduction to the application with brief background and description of the application tools. ################################################################################################################################ ## 2. results.py The `results.py` module manages the interactive Streamlit demo for visualizing model evaluation results and analysis. It provides an interface for users to explore different aspects of model performance and evaluation samples. Notes: Ensure the necessary dependencies are installed and properly configured. The `run_demo` function relies on the ResultDemonstrator class to generate plots and display results. ################################################################################################################################ ## 3. run_inference.py The `run_inference.py` is responsible for the running inference to test and use the fine-tuned models. It manages the user interface and interactions for a Streamlit-based Knowledge-Based Visual Question Answering (KBVQA) application. This module handles image uploads, displays sample images, and facilitates the question-answering process using the KBVQA model. Notes: - Ensure the necessary dependencies are installed and properly configured. - The `InferenceRunner` class relies on the KBVQA model to generate answers to questions based on image analysis. ################################################################################################################################ ## 4. model_arch.py The `model_arch.py` displays the model architecture and accompanying abstract and design details for the Knowledge-Based Visual Question Answering (KB-VQA) model. ################################################################################################################################ ## 5. dataset_analysis.py The dataset_analysis.py module provides tools for analyzing and visualizing distributions of question types within given question datasets for Knowledge-Based Visual Question Answering (KBVQA). It supports operations such as data loading, categorization of questions, visualization, and exporting data to CSV files. This module leverages Streamlit for interactive visualization and Altair for plotting. Notes: Ensure the necessary dependencies are installed and properly configured. The `OKVQADatasetAnalyzer` class leverages `Altair` for creating interactive visualizations and `Streamlit` for displaying these visualizations in a web app format. The `run_dataset_analyzer` function provides an overview of the dataset and utilizes the OKVQADatasetAnalyzer to visualize the data. This module has a dependency on the `process_okvqa_dataset` function from `my_model.dataset.dataset_processor`. |