دنبال کننده ها

۱۳۹۶ مرداد ۱۱, چهارشنبه

python 2.7 - os.path.join is showing error

[ad_1]



I have been trying to implement the fully_connected_feed.py . But the function os.path.join() is showing a syntax error.



parser.add_argument(
'--input_data_dir',
type=str,

default=os.path.join(os.getenv('TEST_TMPDIR', '/tmp'),'tensorflow/mnist/input_data'),
help='Directory to put the input data.'
)


The error is -



File "fully_connected_feed.py", line 244
default=os.path.join(os.getenv('TEST_TMPDIR', '/tmp'),'tensorflow/mnist/input_data'),
^
SyntaxError: invalid syntax


What can be the problem?




[ad_2]

لینک منبع