phoebe777777 commited on
Commit
e5ff466
·
verified ·
1 Parent(s): 06115fd

Update inference_seg.py

Browse files
Files changed (1) hide show
  1. inference_seg.py +1 -1
inference_seg.py CHANGED
@@ -27,7 +27,7 @@ def load_model(use_box=False):
27
 
28
  @torch.no_grad()
29
  def run(model, img_path, box=None, device="cpu"):
30
- print("DEVICE": device)
31
  model.move_to_device(device)
32
  model.eval()
33
  with torch.no_grad():
 
27
 
28
  @torch.no_grad()
29
  def run(model, img_path, box=None, device="cpu"):
30
+ print("DEVICE:", device)
31
  model.move_to_device(device)
32
  model.eval()
33
  with torch.no_grad():