2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Tensorboard: ValueError: Duplicate plugins for name projectorの原因と解決法

Posted at

#tensorboard実行時に以下のエラーが発生

実行文とエラー文
>>tensorboard --logdir={log_path}

Tensorboard: ValueError: Duplicate plugins for name projector

#原因と解決策
エラー文の通り、環境内に複数のTensorboardが存在することが原因のエラー
解決策は以下の通り

1.pip上でtensorboard関連のものを削除する

関連ライブラリの削除
pip3 list --format=freeze | grep -e tensorboard -e tb-nightly | xargs pip3 uninstall -y

2.python環境の各インポート先site-packagesに、残骸のdir等が残っていないか確認、あれば削除

インポート先パスの確認
python3 -m site

それぞれのdirに以下が存在している場合削除する。

tensorboard
tensorboard-plugin-wit
tensorboardX
tb-nightly

3.以下コマンドで再度tensorboard関連をインストールすると解決。

pip3 install -q tensorflow
2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?