Colab example doesn't run successfuly

オープン
#263 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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 はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

tensorflow/lingvo のほかの issue

tensorflow/lingvo の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。