You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sir, @llSourcell I am getting following error please help to sort out:
Traceback (most recent call last):
File "board.py", line 4, in
mnist = input_data.read_data_sets("/tmp/data/", one_hot=True)
File "C:\learn\tensorflow_demo\input_data.py", line 149, in read_data_sets
local_file = maybe_download(TRAIN_IMAGES, train_dir)
File "C:\learn\tensorflow_demo\input_data.py", line 14, in maybe_download
os.mkdir(work_directory)
WindowsError: [Error 3] The system cannot find the path specified: '/tmp/data/'
The text was updated successfully, but these errors were encountered:
os.path.join is the safest and most portable choice. As long as you have "c:" hardcoded in the path it's not really portable, but it's still the best practice and a good habit to develop.
With a tip of the hat to Python os.path.join on Windows for the correct way to produce c:\Users rather than c:Users.
Sir, @llSourcell I am getting following error please help to sort out:
Traceback (most recent call last):
File "board.py", line 4, in
mnist = input_data.read_data_sets("/tmp/data/", one_hot=True)
File "C:\learn\tensorflow_demo\input_data.py", line 149, in read_data_sets
local_file = maybe_download(TRAIN_IMAGES, train_dir)
File "C:\learn\tensorflow_demo\input_data.py", line 14, in maybe_download
os.mkdir(work_directory)
WindowsError: [Error 3] The system cannot find the path specified: '/tmp/data/'
The text was updated successfully, but these errors were encountered: