Closed MikhailKulyabin closed 2 months ago
i thinking you should using model_cfg = "sam2_hiera_t.yaml" and load the pre_train weight
fine-tune means "slightly train the model", so technically, there is no way to "fine-tune" the model in inferenceš¤. if you mean adapt the model to your data with light-weight training, then "adapters" are what you need: https://github.com/MedicineToken/Medical-SAM-Adapter (it's for sam1, but I think it should also work for sam2). if you mean change the results without training, then you should adjust your prompt (click, bbox, etc), you can do that either manually or automatically.
Hi! Is there a way to use the finetuned model in the SAM2 inference?