Update example_inference.py
Browse files- example_inference.py +1 -1
example_inference.py
CHANGED
@@ -11,7 +11,7 @@ def example_inference():
|
|
11 |
|
12 |
net = BriaRMBG()
|
13 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
14 |
-
net = BriaRMBG.from_pretrained("briaai/RMBG-1.4
|
15 |
net.to(device)
|
16 |
net.eval()
|
17 |
|
|
|
11 |
|
12 |
net = BriaRMBG()
|
13 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
14 |
+
net = BriaRMBG.from_pretrained("briaai/RMBG-1.4")
|
15 |
net.to(device)
|
16 |
net.eval()
|
17 |
|