Accepted by Neural Networks, Volume 188, 107475, 2025.08.
The following is the process of "Alignment Pre-training + Dula Loss Fine-tuning" for training SpikeCLIP.
conda create -n snn python=3.8
conda activate snn
pip install -r requirements.txtcd language
bash alignment_text.shcd vision/alignment_ft
bash bash/alignment.shcd vision/task_ft_CLIP
bash bash/alignment.shcd vision/alignment_ft
bash bash/pretrain_{dataset_name}.sh
bash bash/finetune_{dataset_name}.shcd vision/no_LSD
bash bash/{dataset_name}.sh- You can download and construct all the required datasets through clip_eval.py.
- Shell commands above only show how to run the program.
- Detailed hyperparameters can be set as needed.

