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:7ac3b5f61ca2d282901d0932921f500b65344a0f0e91b3dc81599cf39c1d7262
3
- size 985808
 
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'][0]
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

  • SHA256: 2e692afc3d5d4d4f28324cc1a8ed7ce07430633f8f6be7f34f76d1c0c26bcffc
  • Pointer size: 132 Bytes
  • Size of remote file: 1.27 MB
materials/examples/4#Architecture#3#Crack#3551574032_17dd106d31_o.jpg DELETED

Git LFS Details

  • SHA256: 0e899558af9864917bf753bfa121142e14f37d05603c249fe54b929dbfa8911a
  • Pointer size: 131 Bytes
  • Size of remote file: 796 kB