-
Notifications
You must be signed in to change notification settings - Fork 155
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
frozen graph convert error #39
Comments
Hi varun-tangoit, Thanks for reaching out. It looks like the script can't find the third party 'slim' package. Did you clone the repository with the git submodule update --init from inside the project. Best, |
Thanks, Join, I did all option but i cant able to resolve this issue. And i follow same as the steps mentioned on the below link; Please give me some suggestion; |
From the root directory of a fresh git clone (with --recursive), can you try the following From the terminal: python From within the python interpreter: import sys
sys.path.append('third_party/models/research')
import slim.nets If that succeeds, then calling python scripts/models_to_frozen_graphs.py should also succeed (provided you followed installation steps). Let me know, |
seems you have to switch to python2 |
Hey Hi,
Im running some sample tf-trt, i have been successfully build and compiled good, when i try to run;
python scripts/models_to_frozen_graphs.py
i got some import error, but i have downloaded all models from base source, is there anything i missed;
Traceback (most recent call last):
File "scripts/models_to_frozen_graphs.py", line 12, in
import slim.nets as nets
ImportError: No module named 'slim.nets'
Please give me some suggestion to resolve this issue, Thanks in advance
The text was updated successfully, but these errors were encountered: