This repository contains models used for running detection, saliency (localizer), and tracking in the bb_pipeline
. Models are provided for compatibility with both Keras 2 and Keras 3.
The following is a summary of the models, their purpose, and their compatibility with different versions of Keras.
- Keras 3 Version:
localizer_2019_keras3.h5
andlocalizer_2019_attributes.json
- Additional attributes (
localizer_2019_attributes.json
) are required for using the model in Keras 3.
- Additional attributes (
- Keras 2 Version:
.model
files (e.g.,localizer_2019.model
)
- Keras 3 Version:
decoder_2019_keras3.h5
- Keras 2 Version:
decoder_2019.model
- Model Files:
detection_model_4.json
,tracklet_model_8.json
- These tracking model files in JSON format are compatible with both Keras 2 and Keras 3.
This folder contains the models used in the pipeline, organized by task:
decoder
: Contains models for the detection step.saliency
: Contains models for the saliency (localizer) step.tracking
: Contains tracking models compatible with both Keras 2 and Keras 3.
This folder provides notebooks and code for model conversion and generation:
keras2_model_conversion.ipynb
: Notebook to convert existing Keras 2 models to a format compatible with Keras 3 by saving the model weights.keras3_model_generation.ipynb
: Notebook with functions to create model structures compatible with Keras 3 by importing model weights.pipelinemodels.py
: Contains the model structure functions, which generate models for the decoder and localizer steps.