美文网首页
抽空看official/mnist/dataset.py fro

抽空看official/mnist/dataset.py fro

作者: 少帅qaz | 来源:发表于2018-07-05 22:34 被阅读0次

    tensorflow官网好像放弃了read_data_sets和mabe_download等方法  

    让用什么官方中的dataset.py中的方法  和 tf.one_hot on tensors.以及 Please write your own downloading logic.

    警告如下:

    In [1]:runfile('C:/Users/hq/Desktop/trans_century.py', wdir='C:/Users/hq/Desktop')

    WARNING:tensorflow:From C:/Users/hq/Desktop/trans_century.py:18: 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.

    WARNING:tensorflow:From E:\mygod\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.

    WARNING:tensorflow:From E:\mygod\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.

    Extracting ./MNIST_data\train-images-idx3-ubyte.gz

    WARNING:tensorflow:From E:\mygod\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.

    Extracting ./MNIST_data\train-labels-idx1-ubyte.gz

    WARNING:tensorflow:From E:\mygod\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.

    Extracting ./MNIST_data\t10k-images-idx3-ubyte.gz

    Extracting ./MNIST_data\t10k-labels-idx1-ubyte.gz

    WARNING:tensorflow:From E:\mygod\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.

    ��######################################################################

    runfile('C:/Users/hq/Desktop/trans_century.py', wdir='C:/Users/hq/Desktop')

    WARNING:tensorflow:From C:/Users/hq/Desktop/trans_century.py:18: 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.

    WARNING:tensorflow:From E:\mygod\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.

    WARNING:tensorflow:From E:\mygod\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.

    Extracting ./MNIST_data\train-images-idx3-ubyte.gz

    WARNING:tensorflow:From E:\mygod\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.

    Extracting ./MNIST_data\train-labels-idx1-ubyte.gz

    WARNING:tensorflow:From E:\mygod\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.

    Extracting ./MNIST_data\t10k-images-idx3-ubyte.gz

    Extracting ./MNIST_data\t10k-labels-idx1-ubyte.gz

    WARNING:tensorflow:From E:\mygod\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.

    相关文章

      网友评论

          本文标题:抽空看official/mnist/dataset.py fro

          本文链接:https://www.haomeiwen.com/subject/egumuftx.html