Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ sam.to(device=device)
|
|
29 |
sam.forward = modify_forward(sam)
|
30 |
sam.infer = add_inference_method(sam)
|
31 |
|
32 |
-
pretrained_model_path = "./
|
33 |
|
34 |
if pretrained_model_path != "":
|
35 |
sd = torch.load(pretrained_model_path, map_location='cpu')
|
|
|
29 |
sam.forward = modify_forward(sam)
|
30 |
sam.infer = add_inference_method(sam)
|
31 |
|
32 |
+
pretrained_model_path = "./epoch_39_step_415131.pth"
|
33 |
|
34 |
if pretrained_model_path != "":
|
35 |
sd = torch.load(pretrained_model_path, map_location='cpu')
|