License-plate-detection icon indicating copy to clipboard operation
License-plate-detection copied to clipboard

Export weight to Darknet format

Open StanislavSeregin opened this issue 5 years ago • 2 comments

How I can export weight to Darknet (.weight) format instead PyTorch(.pt) without weights transpose? OpenCV throw exception with "Transpose the weights (except for convolutional) is not implemented"...

/* OpenCV check version */
bool transpose = (major_ver > 1000) || (minor_ver > 1000);
if(transpose)
    CV_Error(cv::Error::StsNotImplemented, "Transpose the weights (except for convolutional) is not implemented");

StanislavSeregin avatar Jul 10 '19 19:07 StanislavSeregin

Did you slove this problem?

koi-boy avatar Feb 04 '23 07:02 koi-boy

redowned weight file,I solve this problem.

koi-boy avatar Feb 04 '23 07:02 koi-boy