diff --git a/train.py b/train.py index 86c7e48d5a..318713d82c 100644 --- a/train.py +++ b/train.py @@ -526,7 +526,7 @@ def train(hyp, opt, device, tb_writer=None): if __name__ == '__main__': parser = argparse.ArgumentParser() - parser.add_argument('--weights', type=str, default='yolo7.pt', help='initial weights path') + parser.add_argument('--weights', type=str, default='yolov7.pt', help='initial weights path') parser.add_argument('--cfg', type=str, default='', help='model.yaml path') parser.add_argument('--data', type=str, default='data/coco.yaml', help='data.yaml path') parser.add_argument('--hyp', type=str, default='data/hyp.scratch.p5.yaml', help='hyperparameters path')