Skip to content
LvchangzePublic

About

[Neural Networks] SpikeCLIP: A Contrastive Language-Image Pretrained Spiking Neural Network

Resources

Stars

11 stars

Watchers

1 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

SpikeCLIP: A Contrastive Language-Image Pretrained Spiking Neural Network

Accepted by Neural Networks, Volume 188, 107475, 2025.08.

https://www.sciencedirect.com/science/article/abs/pii/S0893608025003545

The following is the process of "Alignment Pre-training + Dula Loss Fine-tuning" for training SpikeCLIP.

Example Image

The following is the architecture diagram of SpikeCLIP

Example Image

Install Requirements

conda create -n snn python=3.8
conda activate snn
pip install -r requirements.txt

Training a Text Encoder for SpikeCLIP

cd language
bash alignment_text.sh

Alignment Pre-training the image encoder of SpikeCLIP

cd vision/alignment_ft
bash bash/alignment.sh

Task specific fine-tuning of CLIP

cd vision/task_ft_CLIP
bash bash/alignment.sh

Dual-Loss FT the image encoder of SpikeCLIP

cd vision/alignment_ft
bash bash/pretrain_{dataset_name}.sh
bash bash/finetune_{dataset_name}.sh

Conduct experiments on w/o LSD

cd vision/no_LSD
bash bash/{dataset_name}.sh

Notes

  • 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.

About

[Neural Networks] SpikeCLIP: A Contrastive Language-Image Pretrained Spiking Neural Network

Resources

Stars

11 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages