Colab example doesn't run successfuly
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 38/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- google-cloud, jupyter-notebook, python, tensorflow
调研方向
Read the codelabs introduction.ipynb notebook and inspect the Model Training block that fails in Google Colab. Start by checking how the notebook installs or imports Lingvo and its pruning dependencies; the traceback ends with a missing graph_compression module. Done means the example runs through Model Training in Colab, with the dependency issue resolved.
由索引模型根据 Issue 内容生成。
描述
Hello,
I am trying to run the jupyter notebook example "introduction.ipynb" on "codelabs" folder using Google Colab.
However, it gives me the following error:
2021-05-12 03:12:03.347414: I tensorflow/stream_executor/platform/default/dso_loader.cc:48] Successfully opened dynamic library libcudart.so.10.1
WARNING:absl:Lingvo does not support eager execution yet. Please disable eager execution with tf.compat.v1.disable_eager_execution() or proceed at your own risk.
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.7/dist-packages/lingvo/trainer.py", line 39, in <module>
from lingvo import executor
File "/usr/local/lib/python3.7/dist-packages/lingvo/executor.py", line 21, in <module>
from lingvo.core import base_model
File "/usr/local/lib/python3.7/dist-packages/lingvo/core/base_model.py", line 35, in <module>
from model_pruning.python import pruning
File "/usr/local/lib/python3.7/dist-packages/model_pruning/__init__.py", line 37, in <module>
from model_pruning.python.pruning_interface import apply_matrix_compression
File "/usr/local/lib/python3.7/dist-packages/model_pruning/python/pruning_interface.py", line 44, in <module>
from graph_compression.compression_lib import compression_wrapper_py2 as compression_wrapper
ModuleNotFoundError: No module named 'graph_compression'
When I try to run the "Model Training" block.
Any ideas how could we fix this problem ?
- 主要语言
- Python
- 星标
- 2.9k
- 派生
- 452
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
tensorflow/lingvo 的其他 Issue
-
About inverseAug未关闭
难度 4/5 3-5 天 新手友好度 25/100
tensorflow/lingvo#370 · 1 条评论 ·
-
难度 4/5 1-2 天 新手友好度 35/100
tensorflow/lingvo#359 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 15/100
tensorflow/lingvo#356 · 5 个 reaction ·
-
难度 5/5 一周以上 新手友好度 25/100
tensorflow/lingvo#333 ·
-
难度 3/5 1-2 天 新手友好度 35/100
tensorflow/lingvo#332 · 1 条评论 ·
查看 tensorflow/lingvo 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
Treat corrupt-shape state files as missing in `load_state`可能已有人在做 @Qrytics 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 85/100
OvertureMaps/overturemaps-py#175 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 83/100
awslabs/visual-asset-management-system#1278 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
aws-samples/sample-per-model-bedrock#835 ·
维护者通常 1 天内回复