I’m using PyTorch version 2.0.1+cu118 and Tensorboard version v2023.10.1002992421 with VS Code. My summary writer is initialized as
self.writer = SummaryWriter() # Trainer.py Line 25
Then writing is done as following
self.writer.add_scalar(f"{step_type} Loss", loss.item(), epoch * len(loader) + pbar.n) # Trainer.py Line 78
Closing is done as following
self.writer.close() # Trainer.py Line 96
I can see files written as “events.out.tfevents.1700214365.DESKTOP-05JQ386.26868.1” within /runs/.
When I run the Tensorboard, I get " No dashboards are active for the current data set." I tried to setting every combination of directory. Checked forums, used code that should be working (check doodle.py) to no avail. I failed, failed, failed and decided to get a punching bag or therapy, maybe both.
The code I have prepared is uploaded to GitHub for easy access if needed.