Skip to content

StatisticTool App Configurations Files

Nachem Rosenberg edited this page Oct 29, 2023 · 2 revisions

Application Configuration

The application configuration files can be found at StatisticsTool/app_config/app_config.json and StatisticsTool/app_config/blob_storage_config.json. To configure the application with specific projects parameters, you can do one of the following:

1. Update app_config.json and blob_storage_config.json directly. However, this is not recommended since it is part of the repository and changes may be overwritten.

2. Create a copy of app_config.json and blob_storage_config.json in your project repository and use the "--config_file_path" and "--blob_storage_config.json" command line argument when running StatisticsTool to point it to your config file.

3. Each parameter in the config files can be passed as a command line argument with the same name.

Configuration files

StatisticsTool/app_config/app_config.json:

Params in configuration file:

  • "external_lib_path": This parameter specifies the path to the StatisticsTool external library. It should include all project-specific code, such as user-defined functions and report suites and view configurations.
  • "annotation_store_blobs_prefix": This parameter specifies the prefix to the annotation store folder in the storage container or to a folder in the local machine file system. The annotation store contains the ground truth data for the predictions in the log files.
  • "data_store_blobs_prefix": This parameter specifies the prefix to the data store folder in the storage container or to a folder in the local machine file system. This folder contains the images or video files for the predictions in the log files.
  • "predictions_blobs_prefix": This parameter specifies the prefix to the annotation store folder in the storage container or to a folder in the local machine file system. The predictions store contains all model logs file we want to evaluate.

For more information about the file structure in the stores, please refer to the "Stores" section in the Wiki. analysis.

The "blob_storage_config.json" file contains configuration information related to the storage account. Currently, only connection to Azure storage is implemented. Users must update the values within this file before running the tool in order to work with Azure storage. It is not recommended to store this information in the repository.

The "app_secrets.json" file contains the following parameters:

  • "storage_id": This parameter specifies the ID or name of the Azure storage account associated with the application. It is used for accessing and interacting with Azure storage services.
  • "data_container_name": This parameter specifies the name of the container in the storage account configured in "blob_storage_config.json" or folder in the local machine.
  • "storage_connection_string": This parameter holds the connection string to the storage account. This connection string is used to securely authenticate and connect the application to the storage account. The connection string should be kept confidential and not shared publicly. It allows the application to securely access and interact with the specified storage account and its resources.

Clone this wiki locally