We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
您好,opencv的cuda加速在yolact上很明显,大概有5倍的提升,但是在yolov5s上,几乎没有变化,想请教您可能是什么原因呢?非常感谢!
string modelFile = this->netname; modelFile += ".onnx"; cout << "load modelFile : " << modelFile << endl; this->net = readNet(modelFile); // 增加这两行用来加速 this->net.setPreferableBackend(DNN_BACKEND_CUDA); this->net.setPreferableTarget(DNN_TARGET_CUDA);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
您好,opencv的cuda加速在yolact上很明显,大概有5倍的提升,但是在yolov5s上,几乎没有变化,想请教您可能是什么原因呢?非常感谢!
The text was updated successfully, but these errors were encountered: