mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-09 18:40:18 +08:00
@@ -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)
|
||||
|
Reference in New Issue
Block a user