MAHA_DIR=YOUR_DIR_FOR_SAVE_FEATURES
CKPT_PATH=YOUR_SAM_CKPT
DATASET_NAME=coco
DATASET_DIR=YOUR_DATASET_PATH


python gen_features_detection.py \
    --maha_dir $MAHA_DIR \
    --pretrained_model $CKPT_PATH \
    --dataset_dir $DATASET_DIR \
    --dataset_name $DATASET_NAME