This is my configuration file for yoloV3:
config_infer_primary_yoloV3.txt (3.7 KB)
deepstream_app_config_yoloV3.txt (5.5 KB)
Here is a similar post from me. However, this time it is a different bug with yolov4. I think it might have something to do with nvdsinfer_custom_impl_yolo though.
I tested your suggestion with this github repository:
config_infer_primary.txt (3.6 KB)
deepstream_app_config.txt (4.7 KB)
config_infer_primary_yoloV4.txt (3.5 KB)
deepstream_app_config_yolo.txt (5.0 KB)
I also tested this Github repository:
config_infer_primary_yoloV4.txt (3.6 KB)
deepstream_app_config_yoloV4.txt (5.5 KB)
I had a comparable low fps with yolov4 with both implementations. I also tried different network modes.