ValueError: Not a TBLoader or TBPlugin subclass: <class ‘tensorboard_plugin_wit.wit_plugin_loader

问题描述

使用tensorboard可视化

tensorboard --logdir=./xxxx

报错如下:

raceback (most recent call last):
  File "C:\Users\wendong\Anaconda3\envs\pytorch\Scripts\tensorboard-script.py", line 10, in 
    sys.exit(run_main())
  File "C:\Users\wendong\Anaconda3\envs\pytorch\lib\site-packages\tensorboard\main.py", line 59, in run_main
    program.get_default_assets_zip_provider())
  File "C:\Users\wendong\Anaconda3\envs\pytorch\lib\site-packages\tensorboard\program.py", line 144, in __init__
    self.plugin_loaders = [make_loader(p) for p in plugins]
  File "C:\Users\wendong\Anaconda3\envs\pytorch\lib\site-packages\tensorboard\program.py", line 144, in 
    self.plugin_loaders = [make_loader(p) for p in plugins]
  File "C:\Users\wendong\Anaconda3\envs\pytorch\lib\site-packages\tensorboard\program.py", line 143, in make_loader
    raise ValueError("Not a TBLoader or TBPlugin subclass: %s" % plugin)
ValueError: Not a TBLoader or TBPlugin subclass: 

解决办法

pip uninstall tensorboard-plugin-wit

重试即可

tensorboard --logdir=./xxxx

你可能感兴趣的:(环境配置,python,pytorch,深度学习)