diff --git a/detect.py b/detect.py index d3320a95..6de158c6 100644 --- a/detect.py +++ b/detect.py @@ -119,9 +119,9 @@ def detect( if __name__ == '__main__': parser = argparse.ArgumentParser() - parser.add_argument('--cfg', type=str, default='cfg/yolov3-tiny.cfg', help='cfg file path') + parser.add_argument('--cfg', type=str, default='cfg/yolov3-spp.cfg', help='cfg file path') parser.add_argument('--data-cfg', type=str, default='data/coco.data', help='coco.data file path') - parser.add_argument('--weights', type=str, default='weights/yolov3-tiny.weights', help='path to weights file') + parser.add_argument('--weights', type=str, default='weights/yolov3-spp.weights', help='path to weights file') parser.add_argument('--images', type=str, default='data/samples', help='path to images') parser.add_argument('--img-size', type=int, default=416, help='inference size (pixels)') parser.add_argument('--conf-thres', type=float, default=0.5, help='object confidence threshold')