UNeedCryDear

Results 5 comments of UNeedCryDear

![image](https://user-images.githubusercontent.com/52729998/183039899-9b4e214e-e510-4358-9e6c-b185d8a51d7b.png)

![image](https://user-images.githubusercontent.com/52729998/183048403-5b233273-f993-425a-8dd9-9ad770a721b6.png) if you debug detect.py,you will find it concat the three outputs by the layer Detect(),P3 has shape[1,3,80,80,85],P4:[1.3.40.40.85] and P5:[1.3.20.20.85].The resoult of concat renamed "output" ,witch shape is [1,25200,85] but...

> You'd best train and eval in the same or approximate shape! I know this situation, but as I said above, in many cases, I always hope to train with...

@sctrueew example by opencv-dnn: https://github.com/UNeedCryDear/yolov5-seg-opencv-dnn-cpp

you can try this pr https://github.com/ultralytics/yolov5/pull/9645 ![image](https://user-images.githubusercontent.com/52729998/210528143-523c751d-6507-4c17-8e33-f84831f36bf0.png)