Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,6 @@ import numpy as np
|
|
7 |
from archs.model import FourNet
|
8 |
|
9 |
|
10 |
-
opt = parse(path_opt)
|
11 |
device = torch.device('cuda') if torch.cuda.is_available() else torch.device('cpu')
|
12 |
#define some auxiliary functions
|
13 |
pil_to_tensor = transforms.ToTensor()
|
|
|
7 |
from archs.model import FourNet
|
8 |
|
9 |
|
|
|
10 |
device = torch.device('cuda') if torch.cuda.is_available() else torch.device('cpu')
|
11 |
#define some auxiliary functions
|
12 |
pil_to_tensor = transforms.ToTensor()
|