djl234 commited on
Commit
b406026
·
1 Parent(s): 78142e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -101,8 +101,8 @@ def test(gpu_id, net, img_list, group_size, img_size):
101
  print('done')
102
  return result
103
  res=test('cpu',net,[(torch.rand(352,352,3)*255).numpy().astype(np.uint8) for i in range(5)],5,224)
104
- for i in range(5):
105
- assert res[i].shape[0]==352 and res[i].shape[1]==352 and res[i].shape[2]==3
106
  def sepia(img1,img2,img3,img4,img5):
107
  print('sepia')
108
  '''ans=[]
 
101
  print('done')
102
  return result
103
  res=test('cpu',net,[(torch.rand(352,352,3)*255).numpy().astype(np.uint8) for i in range(5)],5,224)
104
+ '''for i in range(5):
105
+ assert res[i].shape[0]==352 and res[i].shape[1]==352 and res[i].shape[2]==3'''
106
  def sepia(img1,img2,img3,img4,img5):
107
  print('sepia')
108
  '''ans=[]