tensorboard icon indicating copy to clipboard operation
tensorboard copied to clipboard

Tensorboard is showing no data

Open SExpert12 opened this issue 1 year ago • 5 comments

Hello,

I am running the PPO algorithm of Ray RL lib. When I run the code the screen is like this: Screenshot from 2024-07-18 04-49-46

So I feel that model is getting trained. Later when I start to visualization using tensorboard I got this screen: Screenshot from 2024-07-18 04-48-47

So I check the ray result folder and I see that these files are generated: Screenshot from 2024-07-18 04-49-20

But when I insect the data the results is like this: Screenshot from 2024-07-18 04-49-33

What is going on here?

Is the model is getting trained or not? Why no data is showing and how to get the data?

Please I need a help as this the last step I am stuck from days..

SExpert12 avatar Jul 18 '24 06:07 SExpert12

Can you please provide more information about what you are doing? TensorBoard has nothing to do with Ray RL lib so it's hard to say whether events are being written correctly but if you upload your logdir I'd be happy to take a look.

rileyajones avatar Jul 18 '24 17:07 rileyajones

Sure. I am trying to train a vehicle based on ray library algorithm in CARLA simulator.

PPO_HomoNcomIndePOIntrxMASS3CTWN3-v0_0_2024-07-18_09-15-57gj89sys7.zip

This is my log file.

Please tell me if you need any other information. Thanks you so much for your help.

SExpert12 avatar Jul 19 '24 05:07 SExpert12

There doesn't seem to be any events written to your events file (you can even see the file is only 25 bytes). I'm not sure what's going on here, but it doesn't seem like your model is being trained.

rileyajones avatar Jul 19 '24 17:07 rileyajones

Okay. Thanks. Do I need to include the summary writer explicitly in my code to view data in Tensorboard. I am using ray rllib to train model.

Thanks for your help.

SExpert12 avatar Jul 20 '24 03:07 SExpert12

Probably? I really have no idea how rllib works as we have no relationship with them.

rileyajones avatar Jul 22 '24 21:07 rileyajones