SALT-SAM / AllinonSAM /eval /polyp /model_svdtuning.yml
pythn's picture
Upload with huggingface_hub
4a1f918 verified
sam:
img_size: 1024
num_classes: 1
sam_type: 'base'
img_type: 'image'
arch: "Prompt Adapted SAM"
use_fdn: False
decoder_training: 'none'
mlp_transform: False
prompts:
USE_TEXT_PROMPT: True
USE_IMAGE_PROMPT: False
USE_SLICE_NUM: False
LOCATION: 'prepend'
DROPOUT: 0
NUM_TOKENS: 5
training:
optimizer: 'adamw'
lr: 1e-3
batch_size: 32
num_epochs: 1000
schedule_step: 50
schedule_step_factor: 0.5
weight_decay: 1e-2
loss: 'focal'
reg_multiplier: 0
use_lora: False