ultralytics / yolov3

YOLOv3 in PyTorch > ONNX > CoreML > TFLite
https://docs.ultralytics.com
GNU Affero General Public License v3.0
10.22k stars 3.45k forks source link

Question about default parameters of "train.py" #981

Closed Blddwkb closed 4 years ago

Blddwkb commented 4 years ago

parser.add_argument('--batch-size', type=int, default=16) # effective bs = batch_size accumulate = 16 4 = 64

If i don't specify the "--batch-size" ,is "batch-size" equal default=16 or batch_size of "yolo...cfg" If it equals to default, whether the "batch_size" of yolo..cfg can be set arbitrarily.

I would appreciate it if you could answer me!

glenn-jocher commented 4 years ago

@Blddwkb --batch-size is defined by argparser. Argparser shows all defaults. cfg hyperparameters are ignored.

Blddwkb commented 4 years ago

@Blddwkb --batch-size is defined by argparser. Argparser shows all defaults. cfg hyperparameters are ignored.

Thanks!

glenn-jocher commented 9 months ago

@Blddwkb you're welcome! If you have any more questions or need further clarification, feel free to ask. Happy training! 😊🚀