Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save crackcomm/5227f0ec455f434dc4cd7aadbf5dee6e to your computer and use it in GitHub Desktop.
Save crackcomm/5227f0ec455f434dc4cd7aadbf5dee6e to your computer and use it in GitHub Desktop.
[05/05/2019, 05:30:34 PM] WARNING (tensorflow/MainThread) From mnist.py:151: read_data_sets (from tensorflow.contrib.learn.python.learn.datasets.mnist) is deprecated and will be removed in a future version.
Instructions for updating:
Please use alternatives such as official/mnist/dataset.py from tensorflow/models.
[05/05/2019, 05:30:34 PM] WARNING (tensorflow/MainThread) From D:\Anaconda3\lib\site-packages\tensorflow\contrib\learn\python\learn\datasets\mnist.py:260: maybe_download (from tensorflow.contrib.learn.python.learn.datasets.base) is deprecated and will be removed in a future version.
Instructions for updating:
Please write your own downloading logic.
[05/05/2019, 05:30:34 PM] WARNING (tensorflow/MainThread) From D:\Anaconda3\lib\site-packages\tensorflow\contrib\learn\python\learn\datasets\mnist.py:262: extract_images (from tensorflow.contrib.learn.python.learn.datasets.mnist) is deprecated and will be removed in a future version.
Instructions for updating:
Please use tf.data to implement this functionality.
[05/05/2019, 05:30:34 PM] PRINT Extracting
[05/05/2019, 05:30:34 PM] PRINT
[05/05/2019, 05:30:34 PM] PRINT /tmp/tensorflow/mnist/input_data\train-images-idx3-ubyte.gz
[05/05/2019, 05:30:34 PM] WARNING (tensorflow/MainThread) From D:\Anaconda3\lib\site-packages\tensorflow\contrib\learn\python\learn\datasets\mnist.py:267: extract_labels (from tensorflow.contrib.learn.python.learn.datasets.mnist) is deprecated and will be removed in a future version.
Instructions for updating:
Please use tf.data to implement this functionality.
[05/05/2019, 05:30:34 PM] PRINT Extracting
[05/05/2019, 05:30:34 PM] PRINT
[05/05/2019, 05:30:34 PM] PRINT /tmp/tensorflow/mnist/input_data\train-labels-idx1-ubyte.gz
[05/05/2019, 05:30:34 PM] WARNING (tensorflow/MainThread) From D:\Anaconda3\lib\site-packages\tensorflow\contrib\learn\python\learn\datasets\mnist.py:110: dense_to_one_hot (from tensorflow.contrib.learn.python.learn.datasets.mnist) is deprecated and will be removed in a future version.
Instructions for updating:
Please use tf.one_hot on tensors.
[05/05/2019, 05:30:34 PM] PRINT Extracting
[05/05/2019, 05:30:34 PM] PRINT
[05/05/2019, 05:30:34 PM] PRINT /tmp/tensorflow/mnist/input_data\t10k-images-idx3-ubyte.gz
[05/05/2019, 05:30:34 PM] PRINT Extracting
[05/05/2019, 05:30:34 PM] PRINT
[05/05/2019, 05:30:34 PM] PRINT /tmp/tensorflow/mnist/input_data\t10k-labels-idx1-ubyte.gz
[05/05/2019, 05:30:34 PM] WARNING (tensorflow/MainThread) From D:\Anaconda3\lib\site-packages\tensorflow\contrib\learn\python\learn\datasets\mnist.py:290: DataSet.__init__ (from tensorflow.contrib.learn.python.learn.datasets.mnist) is deprecated and will be removed in a future version.
Instructions for updating:
Please use alternatives such as official/mnist/dataset.py from tensorflow/models.
[05/05/2019, 05:30:34 PM] PRINT Mnist download data done.
[05/05/2019, 05:30:34 PM] WARNING (tensorflow/MainThread) From D:\Anaconda3\lib\site-packages\tensorflow\python\framework\op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
[05/05/2019, 05:30:34 PM] WARNING (tensorflow/MainThread) From mnist.py:103: calling dropout (from tensorflow.python.ops.nn_ops) with keep_prob is deprecated and will be removed in a future version.
Instructions for updating:
Please use `rate` instead of `keep_prob`. Rate should be set to `rate = 1 - keep_prob`.
[05/05/2019, 05:30:34 PM] WARNING (tensorflow/MainThread) From mnist.py:113: softmax_cross_entropy_with_logits (from tensorflow.python.ops.nn_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Future major versions of TensorFlow will allow gradients to flow
into the labels input on backprop by default.
See `tf.nn.softmax_cross_entropy_with_logits_v2`.
[05/05/2019, 05:30:39 PM] ERROR (mnist_AutoML/MainThread) Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[node conv1/Conv2D (defined at mnist.py:127) ]]
Caused by op 'conv1/Conv2D', defined at:
File "mnist.py", line 235, in <module>
main(params)
File "mnist.py", line 173, in main
mnist_network.build_network()
File "mnist.py", line 72, in build_network
h_conv1 = tf.nn.relu(conv2d(x_image, w_conv1) + b_conv1)
File "mnist.py", line 127, in conv2d
return tf.nn.conv2d(x_input, w_matrix, strides=[1, 1, 1, 1], padding='SAME')
File "D:\Anaconda3\lib\site-packages\tensorflow\python\ops\gen_nn_ops.py", line 1026, in conv2d
data_format=data_format, dilations=dilations, name=name)
File "D:\Anaconda3\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 788, in _apply_op_helper
op_def=op_def)
File "D:\Anaconda3\lib\site-packages\tensorflow\python\util\deprecation.py", line 507, in new_func
return func(*args, **kwargs)
File "D:\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 3300, in create_op
op_def=op_def)
File "D:\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 1801, in __init__
self._traceback = tf_stack.extract_stack()
UnknownError (see above for traceback): Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[node conv1/Conv2D (defined at mnist.py:127) ]]
Traceback (most recent call last):
File "D:\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1334, in _do_call
return fn(*args)
File "D:\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1319, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "D:\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1407, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.UnknownError: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[{{node conv1/Conv2D}}]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "mnist.py", line 235, in <module>
main(params)
File "mnist.py", line 189, in main
mnist_network.keep_prob: 1 - params['dropout_rate']}
File "D:\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 2450, in run
_run_using_default_session(self, feed_dict, self.graph, session)
File "D:\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 5216, in _run_using_default_session
session.run(operation, feed_dict)
File "D:\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 929, in run
run_metadata_ptr)
File "D:\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1152, in _run
feed_dict_tensor, options, run_metadata)
File "D:\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1328, in _do_run
run_metadata)
File "D:\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1348, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.UnknownError: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[node conv1/Conv2D (defined at mnist.py:127) ]]
Caused by op 'conv1/Conv2D', defined at:
File "mnist.py", line 235, in <module>
main(params)
File "mnist.py", line 173, in main
mnist_network.build_network()
File "mnist.py", line 72, in build_network
h_conv1 = tf.nn.relu(conv2d(x_image, w_conv1) + b_conv1)
File "mnist.py", line 127, in conv2d
return tf.nn.conv2d(x_input, w_matrix, strides=[1, 1, 1, 1], padding='SAME')
File "D:\Anaconda3\lib\site-packages\tensorflow\python\ops\gen_nn_ops.py", line 1026, in conv2d
data_format=data_format, dilations=dilations, name=name)
File "D:\Anaconda3\lib\site-packages\tensorflow\python\framework\op_def_library.py", line 788, in _apply_op_helper
op_def=op_def)
File "D:\Anaconda3\lib\site-packages\tensorflow\python\util\deprecation.py", line 507, in new_func
return func(*args, **kwargs)
File "D:\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 3300, in create_op
op_def=op_def)
File "D:\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py", line 1801, in __init__
self._traceback = tf_stack.extract_stack()
UnknownError (see above for traceback): Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.
[[node conv1/Conv2D (defined at mnist.py:127) ]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment