cdnuts commited on
Commit
d4d4a7d
·
verified ·
1 Parent(s): 3be737f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -245,7 +245,7 @@ class ImageDataset(Dataset):
245
  return self.transform(img), os.path.basename(img_path)
246
 
247
  def measure_duration(images, threshold) -> int:
248
- return ceil(len(images) / 64) * 9 + 3
249
 
250
  @dynGPU(duration=measure_duration)
251
  def process_images(images, threshold):
 
245
  return self.transform(img), os.path.basename(img_path)
246
 
247
  def measure_duration(images, threshold) -> int:
248
+ return ceil(len(images) / 64) * 5 + 3
249
 
250
  @dynGPU(duration=measure_duration)
251
  def process_images(images, threshold):