title: How can I select a specific GPU with TensorFlow and Yolov3? (tensorflow-gpu-2.3.1)
body: <p>I have two GPUS in my system (RTX 2070s). I am trying to apply Yolov3 using TensorFlow according to the following
  <a href="https://github.com/theAIGuysCode/Object-Detection-API" rel="nofollow noreferrer">tutorial</a>.</p>
  <p>However, it seems TensorFlow can't use a specific GPU. I had searched on the internet and found that you would need to change <code>'GPU'</code> to <code>/GPU:0</code> in  these lines of code:</p>
  <pre><code>physical_devices = tf.config.experimental.list_physical_devices('GPU')
  if len(physical_devices) &gt; 0:
  tf.config.experimental.set_memory_growth(physical_devices[0], True)
  </code></pre>
  <p>However, that doesn't work and keeps giving me the following error:</p>
  <pre><code>raise ValueError(&quot;Memory growth cannot differ between GPU devices&quot;)
  ValueError: Memory growth cannot differ between GPU devices
  </code></pre>
  <p>Any directions on how to solve this issue?</p>