ZhengPeng7
commited on
Commit
·
840b51f
1
Parent(s):
0851b27
Update weights.
Browse files
materials/examples/1#Accessories#5#Jewelry#12836147075_09291d1d24_o.jpg → BiRefNet-massive-epoch_260.pth
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:92bb252307a56c9bbf95a258a96f60e96a8ccbb8d45275de0b8c76dbda0cd42a
|
3 |
+
size 885038517
|
app.py
CHANGED
@@ -41,7 +41,7 @@ class ImagePreprocessor():
|
|
41 |
|
42 |
|
43 |
model = BiRefNet(bb_pretrained=False)
|
44 |
-
state_dict = ['./BiRefNet-DIS-epoch_590.pth', 'BiRefNet-massive-epoch_240.pth'][
|
45 |
if os.path.exists(state_dict):
|
46 |
birefnet_dict = torch.load(state_dict, map_location="cpu")
|
47 |
unwanted_prefix = '_orig_mod.'
|
|
|
41 |
|
42 |
|
43 |
model = BiRefNet(bb_pretrained=False)
|
44 |
+
state_dict = ['./BiRefNet-DIS-epoch_590.pth', 'BiRefNet-massive-epoch_240.pth', 'BiRefNet-massive-epoch_260.pth'][-1]
|
45 |
if os.path.exists(state_dict):
|
46 |
birefnet_dict = torch.load(state_dict, map_location="cpu")
|
47 |
unwanted_prefix = '_orig_mod.'
|
materials/examples/20#Sports#8#Racket#4827171149_3140bffe12_o.jpg
DELETED
Git LFS Details
|
materials/examples/4#Architecture#3#Crack#3551574032_17dd106d31_o.jpg
DELETED
Git LFS Details
|