Fork自 PaddlePaddle / PaddleDetection
`--minimal` is option for `generate` and should be positioned after it