Skip to content

Commit a24ab6a

Browse files
committed
[Bugfix] .
1 parent 722910c commit a24ab6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ def load_model() -> MedsamLite:
330330
mask_decoder=medsam_lite_mask_decoder,
331331
prompt_encoder=medsam_lite_prompt_encoder,
332332
)
333-
medsam_dir = Path(__file__).parent / "templates" / "lite_medsam.pth"
333+
medsam_dir = Path(__file__).parent / "prm" / "lite_medsam.pth"
334334
medsam_lite_checkpoint = torch.load(medsam_dir, map_location="cpu")
335335
medsam_model.load_state_dict(medsam_lite_checkpoint)
336336
medsam_model.to("cpu")

0 commit comments

Comments
 (0)