Visualize Training Results

Is there any way to visualize results from training without using Tensorboard? I’m working on a VM and it doesn’t allow us to use a browser. I know we can just save the results as a dataframe and plot those, but wouldn’t that be an arduous process (plotting 50,000 episodes’ worth of results). Or would that be my only other option?

Hey @Yared_Kokeb I’m assuming you’re using Ray Tune or RLlib, correct? If so, I would highly recommend using Weights & Biases. It’s free to use, provides excellent visualizations, and you can log all your results and metrics, and then access it on your account from any device. The Ray libraries also integrate with it really well: Using Weights & Biases with Tune — Ray v1.5.2.

Let me know if this is what you’re looking for!

1 Like

Is there a way to integrate wandb to training classes? I only see integration for training functions, and when I add the ‘wandb’ configuration to my it just gives me an error.

For reference, here is my code (copied the cartpole class from github):

env_config = {
    "config_file": trainer_config_file,
    "mpc_dict": mpc_dict
config ={
     "env": CartPoleEnv,
     # "env_config": env_config,
     "num_gpus": 0,
     "num_workers": 1,
     "lr": 1e-3,
     "framework": "torch",
     "wandb": {"project": "Optimization_Project"}
alg = input("Please enter the model used for this training: ")
date ="%d-%m-%Y_%H:%M:%S")
results =
    stop={"training_iteration": 10}, 
    loggers = DEFAULT_LOGGERS + (WandbLogger,)

Nevermind, resolved!