When use custom dataset, the number of class may not same as origin yolov4 model (filters=255).
If it still load 255 channels, the weights after layer 93 will be wrong.
Instead of loading 255 channels, I think it should add include_top feature in load_weights().