jaimin commited on
Commit
895bed1
1 Parent(s): 2b9a369

Update label.py

Browse files
Files changed (1) hide show
  1. label.py +1 -1
label.py CHANGED
@@ -115,7 +115,7 @@ weight_softmax = params[-2].data.numpy()
115
  weight_softmax[weight_softmax<0] = 0
116
 
117
  def predict(img):
118
- img = Image.open('6.jpg')
119
  input_img = V(tf(img).unsqueeze(0))
120
  logit = model.forward(input_img)
121
  h_x = F.softmax(logit, 1).data.squeeze()
 
115
  weight_softmax[weight_softmax<0] = 0
116
 
117
  def predict(img):
118
+ #img = Image.open('6.jpg')
119
  input_img = V(tf(img).unsqueeze(0))
120
  logit = model.forward(input_img)
121
  h_x = F.softmax(logit, 1).data.squeeze()