第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

老師,運(yùn)行regression.py報(bào)錯(cuò)

WARNING:tensorflow:From /Users/chenwengang/Test/mnist/regression.py:4: 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.


正在回答

3 回答

如果感覺老師講的還不錯(cuò),可以到評(píng)論區(qū)給老師一個(gè)好評(píng)

0 回復(fù) 有任何疑惑可以回復(fù)我~

從你的截圖看來(lái),這是警告,并沒有報(bào)錯(cuò),請(qǐng)問最后無(wú)法運(yùn)行出來(lái)結(jié)果是嗎?

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

風(fēng)碩依源 提問者

老師,我把完整的報(bào)錯(cuò)發(fā)在下面了
2018-05-24 回復(fù) 有任何疑惑可以回復(fù)我~
#2

Mr_Ricky 回復(fù) 風(fēng)碩依源 提問者

看看是不是沒有配置注解
2018-05-24 回復(fù) 有任何疑惑可以回復(fù)我~

Please use urllib or similar directly.

Traceback (most recent call last):

? File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 1318, in do_open

? ? encode_chunked=req.has_header('Transfer-encoding'))

? File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1239, in request

? ? self._send_request(method, url, body, headers, encode_chunked)

? File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1285, in _send_request

? ? self.endheaders(body, encode_chunked=encode_chunked)

? File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1234, in endheaders

? ? self._send_output(message_body, encode_chunked=encode_chunked)

? File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1026, in _send_output

? ? self.send(msg)

? File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 964, in send

? ? self.connect()

? File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1392, in connect

? ? super().connect()

? File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 936, in connect

? ? (self.host,self.port), self.timeout, self.source_address)

? File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/socket.py", line 724, in create_connection

? ? raise err

? File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/socket.py", line 713, in create_connection

? ? sock.connect(sa)

OSError: [Errno 65] No route to host


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

? File "/Users/chenwengang/Test/mnist/regression.py", line 4, in <module>

? ? data = input_data.read_data_sets('MNIST_data',one_hot=True)

? File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/util/deprecation.py", line 250, in new_func

? ? return func(*args, **kwargs)

? File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/datasets/mnist.py", line 260, in read_data_sets

? ? source_url + TRAIN_IMAGES)

? File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/util/deprecation.py", line 250, in new_func

? ? return func(*args, **kwargs)

? File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/datasets/base.py", line 252, in maybe_download

? ? temp_file_name, _ = urlretrieve_with_retry(source_url)

? File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/python/util/deprecation.py", line 250, in new_func

? ? return func(*args, **kwargs)

? File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/datasets/base.py", line 205, in wrapped_fn

? ? return fn(*args, **kwargs)

? File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/datasets/base.py", line 233, in urlretrieve_with_retry

? ? return urllib.request.urlretrieve(url, filename)

? File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 248, in urlretrieve

? ? with contextlib.closing(urlopen(url, data)) as fp:

? File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 223, in urlopen

? ? return opener.open(url, data, timeout)

? File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 526, in open

? ? response = self._open(req, data)

? File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 544, in _open

? ? '_open', req)

? File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 504, in _call_chain

? ? result = func(*args)

? File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 1361, in https_open

? ? context=self._context, check_hostname=self._check_hostname)

? File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py", line 1320, in do_open

? ? raise URLError(err)

urllib.error.URLError: <urlopen error [Errno 65] No route to host>


0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

Mr_Ricky

你對(duì)照下代碼,應(yīng)該是代碼問題
2018-05-24 回復(fù) 有任何疑惑可以回復(fù)我~
#2

慕慕5050018

SSL: CERTIFICATE_VERIFY_FAILED, 貌似下載數(shù)據(jù)集用的默認(rèn)URL被加了SSL權(quán)限認(rèn)證
2018-05-28 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

老師,運(yùn)行regression.py報(bào)錯(cuò)

我要回答 關(guān)注問題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)