How to convert Keras .h5 model to darknet yolo.weights format?
问题 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