Duplication of metric names with different model names as prefixes


I am new to Wandb and decided to use it in an existing Git repo: PantheonRL.

This Git repo uses stable-baseline3 and has Tensorboard logging.
I am trying to upload my tensorboard logs to Wandb, while training, but since Tensorboard Logs are:


When I sync tensorboard with wandb, I get charts with the name:


Instead of


The downside is that I cannot compare two models directly in the same graph.
What can be done to fix this?
I have already found something that fixes this, by logging the tensorboard logs directly to the path/to/log, but this way, tensorboard does not know which model are the logs from.

Below I paste my code:

from stable_baselines3 import PPO
from wandb.integration.sb3 import WandbCallback
import wandb


ego = PPO(policy='MlpPolicy')


run = wandb.init(
        sync_tensorboard=True,  # auto-upload sb3's tensorboard metrics
        monitor_gym=False,  # auto-upload the videos of agents playing the game


        callback = WandbCallback(

Thank you in advance

Hey @jmseca, thanks for writing in! It seems this happens due to how TensorBoard logs are structured by stable-baselines3. When you say that you cannot compare two models directly, would it work to create a custom chart and plot all metrics that you’re interested in or adding extra metrics in the line plot?

Hi there, I wanted to follow up on this request. Please let us know if we can be of further assistance or if your issue has been resolved.

Hi @jmseca , since we have not heard back from you we are going to close this request. If you would like to re-open the conversation, please let us know!