-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
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
Transferring Models to C++ one #1
Comments
Hi @Rasoul20sh, step 1: and also david sandberg has a script for this job: step 2: You should load pb file in opencv in c++:
|
Thanks @Alireza-Akhavan , net = cv::dnn::readNetFromTensorflow("./your_model.pb" , "./mcon.pbtxt"); But freezing the model did not create any .pbtxt file. |
Then I produce .pbtxt file using .pb file and this. I still have error with |
hi @Rasoul20sh |
hi @mehdi1661. |
@Rasoul20sh |
Hi @robosina and thanks for your links. |
Hi Alireza and thanks for sharing your slides.
I run the codes successfully and now I want to transfer it to C++ one. As I know (And also implemented before) we can use .pbtxt and .pb files to do so by using OpenCV. But the model which david sandberg used in his work has different formats. Do you have any idea helping me transferring the code to C++ one?
Thanks again
The text was updated successfully, but these errors were encountered: