The main reason is that the license of YOLOv5 is GPL protocol (GPL3.0), and Kaggle is not allowed to use GPL protocol.
So let's popularize these open source software protocols today. Software open source is a problem that many software companies need to pay attention to. Different open source software protocols correspond to different restrictions on the use of source code.
Only by understanding these open source software protocols can we better use and give back to open source software, otherwise we may break the law.