Max Meyer commited on
Commit
2cd441b
1 Parent(s): 0bcab9a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -2,7 +2,7 @@
2
  license: apache-2.0
3
  ---
4
 
5
- # BEN - Background Erase Network
6
 
7
  BEN is a deep learning model designed to automatically remove backgrounds from images, producing both a mask and a foreground image.
8
  - MADE IN AMERICA
@@ -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/model.pth")
24
  image = Image.open(file)
25
  mask, foreground = model.inference(image)
26
 
 
2
  license: apache-2.0
3
  ---
4
 
5
+ # BEN - Background Erase Network (Base Model)
6
 
7
  BEN is a deep learning model designed to automatically remove backgrounds from images, producing both a mask and a foreground image.
8
  - MADE IN AMERICA
 
20
 
21
  model = model.BEN_Base().to(device).eval() #init pipeline
22
 
23
+ model.loadcheckpoints("./BEN/BEN_Base.pth")
24
  image = Image.open(file)
25
  mask, foreground = model.inference(image)
26