Skip to content

Accuracy on TUAB Lower Than Reported Despite Following Setup #12

@ChenHu-ML

Description

@ChenHu-ML

Hi,

First of all, thank you for your outstanding work—your research and codebase have been incredibly insightful and helpful.

I’m currently trying to reproduce the reported results on TUAB using the provided code. However, I’m seeing much lower accuracy than expected.


What I Did

  1. Downloaded and preprocessed the TUAB dataset using your official preprocessing pipeline.
  2. Ran the training script finetune_main.py using the same parameters described in the paper. Here is the exact command I used (for TUAB):
python /CBraMod/finetune_main.py \
  --seed 3407 \
  --cuda 0 \
  --epochs 50 \
  --batch_size 64 \
  --lr 1e-4 \
  --weight_decay 5e-2 \
  --optimizer AdamW \
  --clip_value 1 \
  --dropout 0.1 \
  --downstream_dataset TUAB\
  --datasets_dir /data/EEGdata/TUAB/edf/process_cbramod \
  --num_of_classes 1 \
  --model_dir ./models_weights/ \
  --num_workers 16 \
  --label_smoothing 0.1 \
  --frozen False \
  --use_pretrained_weights True \
  --foundation_dir pretrained_weights/pretrained_weights.pth

  • I got result as below: ~epoch1_acc_0.77637_pr_0.86583_roc_0.86059
    These are significantly lower than the results reported in your paper. I confirmed that the number of samples is consistent with those reported in the paper. Any insights into what I might be missing would be greatly appreciated—thanks in advance for your support!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions