Commit b306b620 authored by shizhm's avatar shizhm
Browse files

完善代码

parent 904ef827
......@@ -21,7 +21,7 @@ samples工程中的Resource/Configuration.xml文件的DetectorYOLOV5节点表示
- ObjectThreshold:用于判断anchor内部是否有物体
```
<ModelPath>"../Resource/Models/YOLOV5s_Nx3xNxN.onnx"</ModelPath>
<ModelPath>"../Resource/Models/yolov5s_Nx3xNxN.onnx"</ModelPath>
<ClassNameFile>"../Resource/Models/coco.names"</ClassNameFile>
<UseFP16>0</UseFP16><!--是否使用FP16-->
<NumberOfClasses>80</NumberOfClasses><!--类别数(不包括背景类),COCO:80,VOC:20-->
......
......@@ -122,7 +122,6 @@ def read_images(image_path):
for image_name in os.listdir(image_path):
image = cv2.imread(image_path +"/" + image_name, 1)
image_lists.append(image)
image_lists.reverse()
return image_lists
......
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