@ptrblck，  in notice the img channel has been changed  in the opencv and i  have add the code cvtColor(img, img, COLOR_RGB2BGR);  to make the channel right. And the results is also bad in the C++. did the model of “.pt” transformed from “.pth” would inference the accuracy?