با سلام
مشخصات من:
Tensorflow 1.3.0
Tensorflow-gpu 1.1.0
Numpy 1.12.1
یه برنامه دیگه مثلا :
import tensorflow as tf
hello = tf.constant('Hello, Amir Sadeqi!')
sess = tf.Session()
print(sess.run(hello))
این انجام دادم مشکلی نداشت یعنی ارور نداد
ولی یه برنامه دیگه زدم ارور داد این ارور میگه نمیدونم مشکلش چیه؟
Traceback (most recent call last):
File "<ipython-input-3-39d3f6696509>", line 1, in
runfile('C:/Users/Amir/Desktop/Week2_Codes/ConvNet_TF.py', wdir='C:/Users/Amir/Desktop/Week2_Codes')
File "C:\Users\Amir\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 880, in runfile
execfile(filename, namespace)
File "C:\Users\Amir\Anaconda3\lib\site-packages\spyder\utils\site\sitecustomize.py", line 102, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "C:/Users/Amir/Desktop/Week2_Codes/ConvNet_TF.py", line 8, in
mnist = input_data.read_data_sets("data/", one_hot = True)
File "C:\Users\Amir\Anaconda3\lib\site-packages\tensorflow\contrib\learn\python\learn\datasets\mnist.py", line 235, in read_data_sets
SOURCE_URL + TRAIN_IMAGES)
File "C:\Users\Amir\Anaconda3\lib\site-packages\tensorflow\contrib\learn\python\learn\datasets\base.py", line 208, in maybe_download
temp_file_name, _ = urlretrieve_with_retry(source_url)
File "C:\Users\Amir\Anaconda3\lib\site-packages\tensorflow\contrib\learn\python\learn\datasets\base.py", line 165, in wrapped_fn
return fn(*args, **kwargs)
File "C:\Users\Amir\Anaconda3\lib\site-packages\tensorflow\contrib\learn\python\learn\datasets\base.py", line 190, in urlretrieve_with_retry
return urllib.request.urlretrieve(url, filename)
File "C:\Users\Amir\Anaconda3\lib\urllib\request.py", line 248, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
File "C:\Users\Amir\Anaconda3\lib\urllib\request.py", line 223, in urlopen
return opener.open(url, data, timeout)
File "C:\Users\Amir\Anaconda3\lib\urllib\request.py", line 532, in open
response = meth(req, response)
File "C:\Users\Amir\Anaconda3\lib\urllib\request.py", line 642, in http_response
'http', request, response, code, msg, hdrs)
File "C:\Users\Amir\Anaconda3\lib\urllib\request.py", line 570, in error
return self._call_chain(*args)
File "C:\Users\Amir\Anaconda3\lib\urllib\request.py", line 504, in _call_chain
result = func(*args)
File "C:\Users\Amir\Anaconda3\lib\urllib\request.py", line 650, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
HTTPError: Forbidden
لطفا راهنمایی کنید
خیلی ممنون