tensorflow / profiler

A profiling and performance analysis tool for TensorFlow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Profiler : No Profile Data was Found in Collab code example

JaShams opened this issue · comments

I am new to Tensorflow, and was trying to figure out how to use the profiler. By following the docs ( https://www.tensorflow.org/tensorboard/tensorboard_profiling_keras ), I got tensorboard working on my remote development machine and could view everything except the profiler output.
I then tried executing the code example mentioned in the doc in Collab ( https://colab.research.google.com/github/tensorflow/tensorboard/blob/master/docs/tensorboard_profiling_keras.ipynb ) only to see the same output.

Is the code example not up to date or is there an issue somewhere else?

Thanks
Screenshot 2023-04-15 000305

I am running into the same problem after running the command tensorboard --logdir logs/
System information:

  • Azure ML compute instance
  • Linux 22.08.19

Environment information

  • python=3.8.16
  • pip= 22.3.1
  • tensorboard=2.10.1
  • tensorboard-plugin-profile=2.10.1

Files in logs directory
files

Tensorboard:
tb

commented

I run into the same problem, too

I can confirm that I'm experiencing the same issue 🫤

commented

same here. Does anybody know how to solve this? Several months have passed, without even a single reply from the developers.

commented

Hey, just took a look, seems the log directory is missing an events file, we will look into fixing this.
As a quick workaround for now, please try:

  1. download the events.out.tfevents file at
    https://github.com/tensorflow/profiler/tree/master/demo
  2. upload this file to the demo log directory like:
Screenshot 2023-09-05 at 9 49 44 PM

then you should be able to see the profiler:
Screenshot 2023-09-05 at 9 46 13 PM

When using the profiler, the logs address should include the run ID.
In the original example, this would be: %tensorboard --logdir='logs/20230414-182044'