[Bug Fix] Fix bugs in acc eval (#1276)

fix bugs in acc eval
This commit is contained in:
yeliang2258
2023-02-09 10:04:04 +08:00
committed by GitHub
parent fe6cbfdb65
commit ef852579a9
8 changed files with 13 additions and 13 deletions

View File

@@ -52,8 +52,8 @@ model = fd.vision.detection.YOLOv5(
runtime_option=runtime_option,
model_format=fd.ModelFormat.PADDLE)
image_file_path = "/xieyunyao/Project/coco/val2017"
annotation_file_path = "/xieyunyao/Project/coco/annotations/instances_val2017.json"
image_file_path = "../dataset/coco/val2017"
annotation_file_path = "../dataset/coco/annotations/instances_val2017.json"
res = fd.vision.evaluation.eval_detection(model, image_file_path,
annotation_file_path, 0.001, 0.65)