How to convert Keras .h5 model to darknet yolo.weights format?

我只是一个虾纸丫 提交于 2020-05-27 00:38:08

问题


I have trained the yolov2 and yolov3 model using keras with this github project(https://github.com/experiencor/keras-yolo2).

Now I want to use the trained model (.h5) in darknet prediction. Essentially I need to convert this h5 model into the format expected by darknet(.weights). I have seen this project (https://github.com/allanzelener/YAD2K/blob/master/yad2k.py) which does the reverse of what I want?

Did anyone tried this before?

来源:https://stackoverflow.com/questions/55568135/how-to-convert-keras-h5-model-to-darknet-yolo-weights-format

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!