title: Installing TensorFlow Profiler for Dummies
body: <p>I am trying to follow this <a href="https://www.tensorflow.org/guide/profiler" rel="nofollow noreferrer">guide</a> to install the TensorFlow Profiler to better understand why my recently installed Keras does run on the GPU, but hardly uses any ressources (and is really slow). However, I am unable to come to any results, since the guide does not provide me with sufficient information, since I am not a programmer by trade and obiously lack necessary knowledge.</p>
  <p>What have I tried so far?
  I use Anaconda and have a running version of python 3.7 installed. I also installed tensorflow and the necessary drivers and such so that tensorflow is able to access my GPUs. Following the linked guide, I downloaded the &quot;install_and_run.py&quot; and tried executing it using the conda prompt. I get asked to specify --envdir and --logdir. Where do I point these? Is the environment directory just the directory to my current conda environment? Since I tried pointing both envdir and logdir into that direction and ended up with the error that the command</p>
  <blockquote>
  <p>True&quot; is unknown and &quot;True' returned non-zero exit status 1.</p>
  </blockquote>
  <p>I could not come up with any solution for this. It should probably be mentioned that I have very little experience in using the conda prompt to run .py-files and usually only use it to install packages.</p>
  <p>I am also unsure what is meant by the subsequent steps that talk about the CUPTI path. The given path is no complete path as far as i know. Where am I supposed to look for it? Or am I meant to exectute some of this</p>
  <pre><code>/sbin/ldconfig -N -v $(sed 's/:/ /g' &lt;&lt;&lt; $LD_LIBRARY_PATH) | \
  grep libcupti
  </code></pre>
  <p>as a command? I have tried running <code>/sbin/ldconfig -N -v $</code> but my system could not find the path (potentially because I started looking from the wrong directory?).</p>
  <p>Any help is much appreciated. Sorry for the potentially confusing post from a confused person.</p>
  <p>Thank you!</p>