Spaces:
Running
on
Zero
Running
on
Zero
Update cpn.py
Browse files
cpn.py
CHANGED
@@ -36,7 +36,7 @@ class CpnInterface:
|
|
36 |
self.device = ('cuda' if torch.cuda.is_available() else 'cpu') if device is None else device
|
37 |
self.model = cd.models.LitCpn(model).to(device)
|
38 |
self.model.eval()
|
39 |
-
self.tile_size =
|
40 |
self.overlap = 384
|
41 |
|
42 |
def __call__(
|
|
|
36 |
self.device = ('cuda' if torch.cuda.is_available() else 'cpu') if device is None else device
|
37 |
self.model = cd.models.LitCpn(model).to(device)
|
38 |
self.model.eval()
|
39 |
+
self.tile_size = 1664
|
40 |
self.overlap = 384
|
41 |
|
42 |
def __call__(
|