tensorflow / tensorboard

TensorFlow's Visualization Toolkit
Apache License 2.0
6.67k stars 1.65k forks source link

Tensorboard is showing no data #6884

Open SExpert12 opened 2 months ago

SExpert12 commented 2 months ago

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..

rileyajones commented 2 months ago

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.

SExpert12 commented 2 months ago

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.

rileyajones commented 2 months ago

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.

SExpert12 commented 2 months ago

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.

rileyajones commented 1 month ago

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