Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 1.29 KB

File metadata and controls

49 lines (38 loc) · 1.29 KB

Results on Imagenet-1K

Trained weights of 5.1M: here.

Trained weights of 10M: here.

Trained weights of 19M: here.

Others weights are coming soon.

Train

Train:

torchrun --standalone --nproc_per_node=8 \
  main_finetune.py \
  --batch_size 256 \
  --blr 6e-4 \
  --warmup_epochs 5 \
  --epochs 200 \
  --model Efficient_Spiking_Transformer_s \
  --data_path /your/data/path \
  --output_dir outputs/T1 \
  --log_dir outputs/T1 \
  --model_mode ms \
  --dist_eval

Data Prepare

ImageNet with the following folder structure, you can extract imagenet by this script.

│imagenet/
├──train/
│  ├── n01440764
│  │   ├── n01440764_10026.JPEG
│  │   ├── n01440764_10027.JPEG
│  │   ├── ......
│  ├── ......
├──val/
│  ├── n01440764
│  │   ├── ILSVRC2012_val_00000293.JPEG
│  │   ├── ILSVRC2012_val_00002138.JPEG
│  │   ├── ......
│  ├── ......