Closed FADEAWAY114 closed 1 year ago
You need to enable the tensorboard from the default.yaml
in the config file.
您需要从配置文件中启用张量板。
default.yaml
When I change it, run tensorboard, I get the following error:
`(parking2) vmware@vmware-virtual-machine:~/epymarl/results/tb_logs/qmix_seed694755480_rware:rware-tiny-2ag-v1_2023-03-25 12:10:14.135647$ tensorboard --logdir=/home/vmware/epymarl/results/tb_logs/qmix_seed694755480_rware:rware-tiny-2ag-v1_2023-03-25 12:10:14.135647 2023-03-25 16:40:41.393997: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory 2023-03-25 16:40:41.394213: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine. Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/tensorboard/compat/init.py", line 42, in tf from tensorboard.compat import notf # noqa: F401 ImportError: cannot import name 'notf' from 'tensorboard.compat' (/usr/local/lib/python3.8/dist-packages/tensorboard/compat/init.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/tensorboard", line 8, in
More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates `
I got the same error. Unfortunately, you can run it without tensorboard only.
you can check my issues for more info: https://github.com/uoe-agents/epymarl/issues/45
When I run tensordoard, the following is displayed, but after opening the web page, nothing is displayed.
`(parking2) vmware@vmware-virtual-machine:~/epymarl/results/tb_logs/qmix_seed694755480_rware:rware-tiny-2ag-v1_2023-03-25 12:10:14.135647$ tensorboard --logdir="/home/vmware/epymarl/results/tb_logs/qmix_seed694iny-2ag-v1_2023-03-25 12:10:14.135647" 2023-03-26 12:17:20.887915: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2 FMA To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
NOTE: Using experimental fast data loading logic. To disable, pass "--load_fast=false" and report issues on GitHub. More details: https://github.com/tensorflow/tensorboard/issues/4784
Serving TensorBoard on localhost; to expose to the network, use a proxy or pass --bind_all TensorBoard 2.11.2 at http://localhost:6006/ (Press CTRL+C to quit) `
@FADEAWAY114 Try to use the root file with the logdir results/tb_logs
@FADEAWAY114 Try to use the root file with the logdir results/tb_logs
Thank you very much, I have successfully plotted, thanks again.
@FADEAWAY114 what environment did you use?
@FADEAWAY114您使用什么环境?
ubuntu20.04
After running the command, I get the following file, but I don't see any files about tensorboard, how do I get the Episodic return graph?