gaur3009 commited on
Commit
c274843
·
verified ·
1 Parent(s): 3eff549

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ from sklearn.cluster import KMeans
10
  from cloth_segmentation.networks.u2net import U2NET
11
 
12
  model = U2NET(3, 1)
13
- model.load_state_dict(torch.load("cloth_segementation/networks/u2net.pth", map_location=torch.device('cpu')))
14
  model.eval()
15
 
16
  # Preprocessing
 
10
  from cloth_segmentation.networks.u2net import U2NET
11
 
12
  model = U2NET(3, 1)
13
+ model.load_state_dict(torch.load("cloth_segmentation/networks/u2net.pth", map_location=torch.device('cpu')))
14
  model.eval()
15
 
16
  # Preprocessing