This repository is focused on the experimental pipeline used in the scientific paper:
- multimodal training scripts in
src/scripts/benchmark - metric aggregation and statistical analysis in
src/scripts/aggreation
conda create -n rg-dermnet python=3.10 -y
conda activate rg-dermnet
pip install -r requirements.txtTraining scripts read the following variables from conf/.env:
NUM_EPOCHSBATCH_SIZEK_FOLDSLIST_NUM_HEADSCOMMON_DIMDATASET_FOLDER_NAMEDATASET_FOLDER_PATHRESULTS_FOLDER_PATHNUMBER_OF_WORKERSUNFREEZE_WEIGHTSLLM_MODEL_NAME_SEQUENCE_GENERATORsave_to_disk
Expected dataset structure:
<DATASET_FOLDER_PATH>/
|-- images/
`-- metadata.csv
Example runs:
python src/scripts/benchmark/train_pad_20.py
python src/scripts/benchmark/train_pad_25.py
python src/scripts/benchmark/train_isic_2019.py
python src/scripts/benchmark/train_isic_2020.pyMetrics per fold are saved under RESULTS_FOLDER_PATH.
After training:
python src/scripts/aggreation/average_metric_values.py
python src/scripts/aggreation/statistical_test.pyMain files:
src/scripts/aggreation/average_metric_values.pysrc/scripts/aggreation/statistical_test.pysrc/scripts/aggreation/stats.py
For paper reproducibility, the core is:
conf/requirements.txtsrc/scripts/benchmark/src/scripts/aggreation/data/(local, not versioned)
If you use this project, please cite:
Rocha, W. F., Bouzon, P. H. G., Ramos, L. A., Pacheco, A. G. C., and Souza Jr., L. A.
RG-DermNet: A Multimodal Attention-Based Model with Residual Block Usage for Skin Lesion Classification.
Accepted at the International Joint Conference on Neural Networks (IJCNN), 2026.
- Wyctor F. da Rocha, Pedro H. G. Bouzon, Andre G. C. Pacheco, Luis A. Souza Jr.
Graduate Program of Informatics, Federal University of Espirito Santo, Vitoria, Brazil - Lucas A. Ramos
Computer Vision and Data Science, NHL Stenden University of Applied Sciences, Leeuwarden, The Netherlands
@inproceedings{rocha2026rgdermnet,
title = {RG-DermNet: A Multimodal Attention-Based Model with Residual Block Usage for Skin Lesion Classification},
author = {Rocha, Wyctor F. and Bouzon, Pedro H. G. and Ramos, Lucas A. and Pacheco, Andre G. C. and Souza Jr., Luis A.},
booktitle = {International Joint Conference on Neural Networks (IJCNN)},
year = {2026},
note = {Accepted}
}For further questions about the lab and related projects, please visit: