Skip to content

模型转换出错的朋友们可以换到Ubutnu #145

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

Open
CheemsYeah opened this issue Mar 17, 2025 · 1 comment
Open

模型转换出错的朋友们可以换到Ubutnu #145

CheemsYeah opened this issue Mar 17, 2025 · 1 comment

Comments

@CheemsYeah
Copy link

我的是windows conda环境,python 3.6,tf版本1.12.0,运行freeze_model.py时报错:**RuntimeError: TOCO failed see console for info.**和 No module named '_tensorflow_wrap_toco'\r\n'。换到Ubuntu22.04重新用miniconda创建了个一样的环境就能成功运行了。

下面是我的requirements.txt:
`absl-py==0.1.6
gast==0.2.0
grpcio==1.8.6
termcolor==1.1.0
astor==0.6.0
h5py
markdown==2.6.8
werkzeug==0.11.10
importlib-metadata==4.4
typing-extensions==3.6.5
numpy==1.14.5
protobuf==3.6.1
tensorboard==1.12.2
tensorflow==1.12.0
scikit-image==0.14.0
zipp==0.5

scikit-image==0.14.0
scipy==1.3.3`
最后感谢作者!这个项目非常有用!

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

No branches or pull requests

2 participants
@CheemsYeah and others