SakuraD commited on
Commit
cabb20f
1 Parent(s): dd3ec97
Files changed (3) hide show
  1. app.py +2 -2
  2. test_dark.ipynb +0 -0
  3. test_exposure.ipynb +0 -0
app.py CHANGED
@@ -27,7 +27,7 @@ def dark_inference(img):
27
 
28
  transform = Compose([
29
  ToTensor(),
30
- Scale(512),
31
  Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5)),
32
  ConvertImageDtype(torch.float)
33
  ])
@@ -48,7 +48,7 @@ def exposure_inference(img):
48
 
49
  transform = Compose([
50
  ToTensor(),
51
- Scale(512),
52
  ConvertImageDtype(torch.float)
53
  ])
54
  input_img = transform(img)
 
27
 
28
  transform = Compose([
29
  ToTensor(),
30
+ Scale(384),
31
  Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5)),
32
  ConvertImageDtype(torch.float)
33
  ])
 
48
 
49
  transform = Compose([
50
  ToTensor(),
51
+ Scale(384),
52
  ConvertImageDtype(torch.float)
53
  ])
54
  input_img = transform(img)
test_dark.ipynb CHANGED
The diff for this file is too large to render. See raw diff
 
test_exposure.ipynb CHANGED
The diff for this file is too large to render. See raw diff