<h2 dir="auto">Exception:</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="...
File &quot;inception/slim/variables.py&quot;, line 290, in variable
  trainable=trainable, collections=collections)
File &quot;/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variable_scope.py&quot;, line 1024, in get_variable
  custom_getter=custom_getter)
File &quot;/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variable_scope.py&quot;, line 850, in get_variable
  custom_getter=custom_getter)
File &quot;/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variable_scope.py&quot;, line 346, in get_variable
  validate_shape=validate_shape)
File &quot;/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variable_scope.py&quot;, line 331, in _true_getter
  caching_device=caching_device, validate_shape=validate_shape)
File &quot;/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variable_scope.py&quot;, line 677, in _get_single_variable
  expected_shape=shape)
File &quot;/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variables.py&quot;, line 224, in __init__
  expected_shape=expected_shape)
File &quot;/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variables.py&quot;, line 327, in _init_from_args
  initial_value(), name=&quot;initial_value&quot;, dtype=dtype)
File &quot;/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variable_scope.py&quot;, line 665, in &lt;lambda&gt;
  shape.as_list(), dtype=dtype, partition_info=partition_info)
TypeError: ones_initializer() got multiple values for keyword argument 'dtype'"><pre class="notranslate"><code class="notranslate">...
File "inception/slim/variables.py", line 290, in variable
  trainable=trainable, collections=collections)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variable_scope.py", line 1024, in get_variable
  custom_getter=custom_getter)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variable_scope.py", line 850, in get_variable
  custom_getter=custom_getter)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variable_scope.py", line 346, in get_variable
  validate_shape=validate_shape)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variable_scope.py", line 331, in _true_getter
  caching_device=caching_device, validate_shape=validate_shape)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variable_scope.py", line 677, in _get_single_variable
  expected_shape=shape)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variables.py", line 224, in __init__
  expected_shape=expected_shape)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variables.py", line 327, in _init_from_args
  initial_value(), name="initial_value", dtype=dtype)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/variable_scope.py", line 665, in &lt;lambda&gt;
  shape.as_list(), dtype=dtype, partition_info=partition_info)
TypeError: ones_initializer() got multiple values for keyword argument 'dtype'
</code></pre></div>
<p dir="auto">I think recently changes of tensorflow.python.init_ops influence to this issue.</p>
<h2 dir="auto"><a href="https://github.com/tensorflow/tensorflow/commit/cfb2280d3f6ced298681bd1141479a59a06abde8">init_ops.py</a></h2>
<div class="highlight highlight-source-diff notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt; def ones_initializer(dtype=dtypes.float32, partition_info=None):
---
&gt; def ones_initializer(shape, dtype=dtypes.float32, partition_info=None):"><pre class="notranslate"><span class="pl-md"><span class="pl-md">&lt;</span> def ones_initializer(dtype=dtypes.float32, partition_info=None):</span>
<span class="pl-ms">---</span>
<span class="pl-mi1"><span class="pl-mi1">&gt;</span> def ones_initializer(shape, dtype=dtypes.float32, partition_info=None):</span></pre></div>
<h2 dir="auto"><a href="https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/ops/variable_scope.py#L665">variable_scope.py</a></h2>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" 655     # Create the tensor to initialize the variable.
 656     if initializer is None:
 657       initializer = init_ops.uniform_unit_scaling_initializer()
 658     # Clear control dependencies while creating the initializer.
 659     with ops.control_dependencies(None):
 660       if initializing_from_value:
 661         init_val = initializer
 662         variable_dtype = None
 663       else:
 664         init_val = lambda: initializer(
 665             shape.as_list(), dtype=dtype, partition_info=partition_info)
 666         variable_dtype = dtype.base_dtype"><pre class="notranslate"> <span class="pl-c1">655</span>     <span class="pl-c"># Create the tensor to initialize the variable.</span>
 <span class="pl-c1">656</span>     <span class="pl-k">if</span> <span class="pl-s1">initializer</span> <span class="pl-c1">is</span> <span class="pl-c1">None</span>:
 <span class="pl-c1">657</span>       <span class="pl-s1">initializer</span> <span class="pl-c1">=</span> <span class="pl-s1">init_ops</span>.<span class="pl-en">uniform_unit_scaling_initializer</span>()
 <span class="pl-c1">658</span>     <span class="pl-c"># Clear control dependencies while creating the initializer.</span>
 <span class="pl-c1">659</span>     <span class="pl-k">with</span> <span class="pl-s1">ops</span>.<span class="pl-en">control_dependencies</span>(<span class="pl-c1">None</span>):
 <span class="pl-c1">660</span>       <span class="pl-k">if</span> <span class="pl-s1">initializing_from_value</span>:
 <span class="pl-c1">661</span>         <span class="pl-s1">init_val</span> <span class="pl-c1">=</span> <span class="pl-s1">initializer</span>
 <span class="pl-c1">662</span>         <span class="pl-s1">variable_dtype</span> <span class="pl-c1">=</span> <span class="pl-c1">None</span>
 <span class="pl-c1">663</span>       <span class="pl-k">else</span>:
 <span class="pl-c1">664</span>         <span class="pl-s1">init_val</span> <span class="pl-c1">=</span> <span class="pl-k">lambda</span>: <span class="pl-en">initializer</span>(
 <span class="pl-c1">665</span>             <span class="pl-s1">shape</span>.<span class="pl-en">as_list</span>(), <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s1">dtype</span>, <span class="pl-s1">partition_info</span><span class="pl-c1">=</span><span class="pl-s1">partition_info</span>)
 <span class="pl-c1">666</span>         <span class="pl-s1">variable_dtype</span> <span class="pl-c1">=</span> <span class="pl-s1">dtype</span>.<span class="pl-s1">base_dtype</span></pre></div>
<p dir="auto"><code class="notranslate">lambda:initiallizer</code> calls with three parameters. So, parameter missmatch occured.</p>
<p dir="auto">I think it needs to change <code class="notranslate">variable_scope.py</code> source code.</p>
<p dir="auto">I'm using TensorFlow on Windows Server 2012, TensorFlow version is 0.12.1<br>
I've install CUDA (CUDA Version 8.0.44), and install cuDnn (cuDNN v5.1 (August 10, 2016), for CUDA 8.0).</p>
<p dir="auto">that cuDnn is build for windows 10.</p>
<p dir="auto">But when I run my tensorflow code is get some error about:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="am_executor\cuda\cuda_dnn.cc:385] could not create cudnn handle: CUDNN_STATUS_IN
TERNAL_ERROR
E c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\stre
am_executor\cuda\cuda_dnn.cc:352] could not destroy cudnn handle: CUDNN_STATUS_B
AD_PARAM
F c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core
\kernels\conv_ops.cc:532] Check failed: stream-&gt;parent()-&gt;GetConvolveAlgorithms(
&amp;algorithms)"><pre class="notranslate"><code class="notranslate">am_executor\cuda\cuda_dnn.cc:385] could not create cudnn handle: CUDNN_STATUS_IN
TERNAL_ERROR
E c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\stre
am_executor\cuda\cuda_dnn.cc:352] could not destroy cudnn handle: CUDNN_STATUS_B
AD_PARAM
F c:\tf_jenkins\home\workspace\release-win\device\gpu\os\windows\tensorflow\core
\kernels\conv_ops.cc:532] Check failed: stream-&gt;parent()-&gt;GetConvolveAlgorithms(
&amp;algorithms)
</code></pre></div>
<p dir="auto">It seems the cuDNN version is not correct, but I tried cuDNN v5.0, also got this exception.</p>
<p dir="auto">does anyone know how to fix this issue?<br>
Thanks very much.</p>