mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 09:07:10 +08:00
2
tests/acc_eval/segmentation/eval.py
Normal file → Executable file
2
tests/acc_eval/segmentation/eval.py
Normal file → Executable file
@@ -54,5 +54,5 @@ model = fd.vision.segmentation.PaddleSegModel(
|
||||
model_file, params_file, config_file, runtime_option=runtime_option)
|
||||
|
||||
res = fd.vision.evaluation.eval_segmentation(
|
||||
model=model, data_dir="../dataset/FD_dataset/data/cityscapes")
|
||||
model=model, data_dir="../dataset/cityscapes")
|
||||
print(res)
|
||||
|
Reference in New Issue
Block a user