Commit 2e64a0f4 authored by Rayyyyy's avatar Rayyyyy
Browse files

coco128 val datasets

parent 1c8fb024
...@@ -44,7 +44,7 @@ def test_img(args, model, postprocessors, save_path): ...@@ -44,7 +44,7 @@ def test_img(args, model, postprocessors, save_path):
min_score = 0.65 min_score = 0.65
img_name = dataset_test.coco.loadImgs(targets[0]['image_id'].item())[0]['file_name'] img_name = dataset_test.coco.loadImgs(targets[0]['image_id'].item())[0]['file_name']
img = cv2.imread(os.path.join(args.coco_path, 'images/val2017', img_name)) img = cv2.imread(os.path.join(args.coco_path, 'val2017', img_name))
draw_img = img.copy() draw_img = img.copy()
save_status = False save_status = False
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment