MaxwellMeyer commited on
Commit
d8358da
·
verified ·
1 Parent(s): 764ae38

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -51,7 +51,7 @@ file = "./image.png" # input image
51
 
52
  model = model.BEN_Base().to(device).eval() #init pipeline
53
 
54
- model.loadcheckpoints("./BEN_Base2.pth")
55
  image = Image.open(file)
56
  foreground = model.inference(image, refine_foreground=False,) #Refine foreground is an extract postprocessing step that increases inference time but can improve matting edges. The default value is False.
57
 
@@ -74,7 +74,7 @@ device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
74
 
75
  model = model.BEN_Base().to(device).eval() #init pipeline
76
 
77
- model.loadcheckpoints("./BEN_Base2.pth")
78
 
79
  file1 = "./image1.png" # input image1
80
  file2 = "./image2.png" # input image2
@@ -113,7 +113,7 @@ file = "./image.png" # input image
113
 
114
  model = model.BEN_Base().to(device).eval() #init pipeline
115
 
116
- model.loadcheckpoints("./BEN_Base2.pth")
117
 
118
 
119
 
 
51
 
52
  model = model.BEN_Base().to(device).eval() #init pipeline
53
 
54
+ model.loadcheckpoints("./BEN2_Base.pth")
55
  image = Image.open(file)
56
  foreground = model.inference(image, refine_foreground=False,) #Refine foreground is an extract postprocessing step that increases inference time but can improve matting edges. The default value is False.
57
 
 
74
 
75
  model = model.BEN_Base().to(device).eval() #init pipeline
76
 
77
+ model.loadcheckpoints("./BEN2_Base.pth")
78
 
79
  file1 = "./image1.png" # input image1
80
  file2 = "./image2.png" # input image2
 
113
 
114
  model = model.BEN_Base().to(device).eval() #init pipeline
115
 
116
+ model.loadcheckpoints("./BEN2_Base.pth")
117
 
118
 
119