ericup commited on
Commit
d551587
1 Parent(s): cb055f2
Files changed (1) hide show
  1. cpn.py +2 -2
cpn.py CHANGED
@@ -58,8 +58,8 @@ class CpnInterface:
58
  with torch.no_grad():
59
  out = cd.asnumpy(self.model(x, crop_size=self.tile_size,
60
  stride=max(64, self.tile_size - self.overlap)))
61
- if torch.cuda.device_count():
62
- print(cd.GpuStats())
63
 
64
  contours, = out['contours']
65
  boxes, = out['boxes']
 
58
  with torch.no_grad():
59
  out = cd.asnumpy(self.model(x, crop_size=self.tile_size,
60
  stride=max(64, self.tile_size - self.overlap)))
61
+ # if torch.cuda.device_count():
62
+ # print(cd.GpuStats())
63
 
64
  contours, = out['contours']
65
  boxes, = out['boxes']