Skip to content
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

how to read saved model #90

Open
mega12345678 opened this issue Mar 24, 2023 · 2 comments
Open

how to read saved model #90

mega12345678 opened this issue Mar 24, 2023 · 2 comments
Labels
good first issue Good for newcomers

Comments

@mega12345678
Copy link

Thank you for your otbcli in CNN. it is powerfull and succeed running in my PC. btw, how to read saved model? there are two file as you mention in your tutorial. when I open in featherpad or genie, but the text can not be read. May be because the file is not in yaml like randomforest. When the file is in yaml format, featherpad or genie can read it. The files is in https://drive.google.com/drive/folders/1zdhBot6yKRr4eAzIj8eCawMzbTyS8C1i?usp=share_link. Thank you.

@remicres
Copy link
Owner

Hi, the SavedModel is stored in protobuf format, i.e. compressed bytes that you can't read in a text editor.
If you want to analyze the weights for instance, you have to use Tensorflow to load it and code something to read its parameters.

@remicres remicres added the good first issue Good for newcomers label Mar 24, 2023
@mega12345678
Copy link
Author

mega12345678 commented Mar 25, 2023

If I may suggest you to add tool in otbtf, so that it can load and read the result of CNN. btw, thank you for your response. I will try using google colab to read the result of CNN.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants