Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher committed Dec 12, 2018
1 parent e17c05d commit 5c92972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def detect(opt):

# Load model 1
model = Darknet(opt.cfg, opt.img_size)
checkpoint = torch.load('weights/best.pt', map_location='cpu')
checkpoint = torch.load('weights/xview_best_lite.pt', map_location='cpu')

model.load_state_dict(checkpoint['model'])
model.to(device).eval()
Expand Down

0 comments on commit 5c92972

Please sign in to comment.