Max Meyer
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -20,7 +20,7 @@ file = "./image2.jpg" # input image
|
|
20 |
|
21 |
model = model.BEN_Base().to(device).eval() #init pipeline
|
22 |
|
23 |
-
model.loadcheckpoints("./BEN/
|
24 |
image = Image.open(file)
|
25 |
mask, foreground = model.inference(image)
|
26 |
|
|
|
20 |
|
21 |
model = model.BEN_Base().to(device).eval() #init pipeline
|
22 |
|
23 |
+
model.loadcheckpoints("./BEN/model.pth")
|
24 |
image = Image.open(file)
|
25 |
mask, foreground = model.inference(image)
|
26 |
|