diff --git a/detect.py b/detect.py index 90dbe717..2c34939b 100644 --- a/detect.py +++ b/detect.py @@ -107,7 +107,7 @@ def detect( if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument('--cfg', type=str, default='cfg/yolov3.cfg', help='cfg file path') - parser.add_argument('--weights', type=str, default='weights/yolov3.pt', help='path to weights file') + parser.add_argument('--weights', type=str, default='weights/yolov3.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=32 * 13, help='size of each image dimension') parser.add_argument('--conf-thres', type=float, default=0.50, help='object confidence threshold')