-
Notifications
You must be signed in to change notification settings - Fork 630
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
visualdl启动后,打开页面报错 #1261
Comments
我也遇到了同样的问题,你解决了么?谢谢 |
切换到 2.5.2版本后可以打开 |
启动命令增加参数 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 |
|
升级一下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 |
环境:docker paddlepaddle/fastdeploy:1.0.7-gpu-cuda11.6-trt8.5-22.12
VisualDL 2.5.3
下面是错误日志
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.
界面也不正常
只有一个导航项
The text was updated successfully, but these errors were encountered: