Convert .h5 weight file generated by YAD2K to .weights format.
Create Darknet by following command:
python3 k2day.py <darknet config file> <.h5 model weight> <.weights file output path>
python3 k2day.py yolo.cfg ./YAD2K/model_data/yolo.h5 ./test.weights