title: Geting ERROR: Config value cuda is not defined in any .rc file when trying to train mobilenet in tensorflow
body: <p>I'm trying to run <code>MobileNet_v1</code> on <code>ImageNet</code> and for that I'm using the <a href="https://github.com/tensorflow/models/blob/master/research/slim/nets/mobilenet_v1.md" rel="noreferrer">official Tensorflow Model repository</a> and following their guide.<br>
  However when I actually tried to run the training for <code>MobileNet_v1</code> by first initiating : </p>
  
  <pre><code>models/research/slim$ bazel build -c opt --config=cuda mobilenet_v1_{eval,train}
  </code></pre>
  
  <p>I got : </p>
  
  <pre><code>Starting local Bazel server and connecting to it...
  INFO: Options provided by the client:
    Inherited 'common' options: --isatty=1 --terminal_columns=146
  ERROR: Config value cuda is not defined in any .rc file
  </code></pre>
  
  <p>All previous steps have been successful and everything seems fine except this one.<br>
  I'm using :  </p>
  
  <pre><code>Ubuntu 16.04  
  TF version: v1.7.0 (and 1.10.1) 
  Cuda v9.0  
  cuDNN v7.0 (and 7.1.3)  
  bazel release 0.16.1
  </code></pre>