You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
下面是错误日志
root@localhost:/FastDeploy/examples# visualdl --host 0.0.0.0 --port 8080
/usr/lib/python3/dist-packages/requests/init.py:89: RequestsDependencyWarning: urllib3 (2.0.2) or chardet (3.0.4) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
VisualDL 2.5.3
Running VisualDL at http://0.0.0.0:8080/ (Press CTRL+C to quit)
[ERROR 2023-08-20 02:55:12,738 lib.py:637] Unexpected error: <class 'AttributeError'>
'LogReader' object has no attribute '_model'
<traceback object at 0x7fd9ca415340>
[ERROR 2023-08-20 02:55:14,740 lib.py:637] Unexpected error: <class 'AttributeError'>
'LogReader' object has no attribute '_model'
<traceback object at 0x7fd9ca4150c0>
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/visualdl/server/lib.py", line 633, in retry
return function(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/visualdl/server/lib.py", line 585, in get_static_graph
if log_reader.model:
File "/usr/local/lib/python3.8/dist-packages/visualdl/reader/reader.py", line 100, in model
return self._model
AttributeError: 'LogReader' object has no attribute '_model'
[ERROR 2023-08-20 02:55:16,743 api.py:75] Internal server error. Retry later.
界面也不正常
只有一个导航项
Activity
zgsxwsdxg commentedon Aug 23, 2023
我也遇到了同样的问题,你解决了么?谢谢
AILaborer commentedon Aug 30, 2023
切换到 2.5.2版本后可以打开
MeQln commentedon Sep 5, 2023
启动命令增加参数
visualdl --logdir ./log --host 0.0.0.0 --port 8080 --component_tabs scalar image text embeddings audio histogram hyper_parameters static_graph dynamic_graph pr_curve roc_curve profiler x2paddle fastdeploy_server fastdeploy_client
然后升级一下requests
suorui7 commentedon Oct 25, 2023
MeQln commentedon Oct 25, 2023
升级一下requests,启动是使用参数 --component_tabs 增加组件(https://github.com/PaddlePaddle/VisualDL#launch-by-command-line),启动命令如:visualdl --logdir ./log --host 0.0.0.0 --port 8080 --component_tabs scalar image text embeddings audio histogram hyper_parameters static_graph dynamic_graph pr_curve roc_curve profiler x2paddle fastdeploy_server fastdeploy_client