Glottal Imaging Repository for Advanced Segmentation, Analysis, and Fast Evaluation
-
DL_code folder: contains the framework for using the dataset to train deep learning models (
train.py) and to perform inference (inference.py). Two deep learning models were used: Unet and SwinV2, both implemented using the MONAI and TIMM Python packages. -
Matlab_code folder: contains the .mat files needed to generate the facilitative playbacks and trajectory plots. Users can input their custom segmentation results in AVI format and run the script
Main_segmentation.mto generate the playbacks. -
Matlab_code.ipynb: notebook explains how to use the MATLAB code results and visualize the different playbacks.
-
Seg_FP-Results.ipynb: notebook guides users in visualizing the results from the automatic segmentation methods included in the GIRAFE dataset.
The GIRAFE Database is available on Zenodo with a Digital Object Identifier (DOI) to ensure easy access and citation. To access the database, follow these steps:
Visit the Zenodo page for the GIRAFE Database using the following link: https://zenodo.org/records/13773163
You can download the dataset files directly from Zenodo.
For more information and specific setup instructions, refer to the dataset documentation on Zenodo.
To set up the project using Conda, follow these steps:
# Clone the repository
https://github.com/Andrade-Miranda/GIRAFE.git
cd GIRAFE
# Create a Conda environment from the .yml file
conda env create -f GIRAFE.yml
# Activate the Conda environment
conda activate your-env-nameEach script can be run independently, depending on the specific analysis you wish to perform. Here are the general steps to follow:
-
Prepare Your Data: Ensure the GIRAFE database is available either inside the GIRAFE repository or in any other location.
-
Configure Hyperparameters: Adjust models hyperparameters inside spripts.
-
Run the Script: Execute the script using a Python interpreter. For example:
python DL_code/train.py python DL_code/inference.py --model_dir Unet_8_100_0.0002_256_Baseline
training.py and inference.py scripts have the data_dir path set to the default value ../GIRAFE, but you can change it using the argument --data_dir . After training, training.py generates a ./DL_code/Results directory where the models are saved. The inference.py requires the innermost directory name containing the model to be passed as an argument using --model_dir.
-
Zenodo Dataset:
To cite the dataset available on Zenodo, use the provided DOI:Andrade-Miranda, G., Arias-Londoño, J. D., & Godino Llorente, J. I. (2024). GIRAFE: Glottal Imaging Repository for Advanced Segmentation, Analysis, and Facilitative Playbacks Evaluation
-
ArXiV Paper:
Additionally, cite the associated ArXiV paper where the database is described in detail:
@misc{andrademiranda2024GIRAFE,
title={GIRAFE: Glottal Imaging Dataset for Advanced Segmentation, Analysis, and Facilitative Playbacks Evaluation},
author={G. Andrade-Miranda and K. Chatzipapas and J. D. Arias-Londoño and J. I. Godino-Llorente},
year={2024},
eprint={2412.15054},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2412.15054},
}Email: andradema@univ-brest.fr, ignacio.godino@upm.es, julian.arias@upm.es
GitHub Issues: Report an Issue
Thank you for using the GIRAFE Database! We hope you find it valuable for your research and projects.
