Update app.py
Browse files
app.py
CHANGED
@@ -313,7 +313,7 @@ def load_model():
|
|
313 |
model.std = [0.5, 0.5, 0.5]
|
314 |
evaluator = LSeg_MultiEvalModule(
|
315 |
model, scales=scales, flip=True
|
316 |
-
).
|
317 |
evaluator.eval()
|
318 |
|
319 |
transform = transforms.Compose(
|
|
|
313 |
model.std = [0.5, 0.5, 0.5]
|
314 |
evaluator = LSeg_MultiEvalModule(
|
315 |
model, scales=scales, flip=True
|
316 |
+
).cpu()
|
317 |
evaluator.eval()
|
318 |
|
319 |
transform = transforms.Compose(
|