本文主要是介绍usage: convert.py [-h] [-p] [-w] config_path weights_path output_pathconvert.py: error: the followi,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
运行 convert.py 文件把YOLO配置文件转换成keras适用的h5文件报错:
usage: convert.py [-h] [-p] [-w] config_path weights_path output_path
convert.py: error: the following arguments are required: config_path, weights_path, output_path
Process finished with exit code 2
解决方案:
打开终端输入以下命令行即可解决
python convert.py -w yolov3.cfg yolov3.weights model_data/yolo_weights.h5
这篇关于usage: convert.py [-h] [-p] [-w] config_path weights_path output_pathconvert.py: error: the followi的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!