Tianxiaomo / pytorch-YOLOv4

PyTorch ,ONNX and TensorRT implementation of YOLOv4
Apache License 2.0
4.46k stars 1.49k forks source link

Improved CLI arguments #511

Closed KKastberg closed 6 months ago

KKastberg commented 2 years ago

This PR improves the CLI interface by making the default values for the CLI arguments to be retrieved from the config file and adding the following CLI arguments:

The benefit of this PR is that training from CLI is simpler and more versatile. The optional possibility to pass in a custom yaml config file from the command line also makes it great for remote deployment.

I hope you see the benefit and believe it is an improvement. Please contact me with any questions and feel free to edit the code.