I am trying to run the CIFAR-10 example of Tensorflow. However when executing python cifar10.py
I am getting the error attached below.
I have installed Version 0.6.0 of the Tensorflow package using pip. The framework is working fine on other models including the MNIST tutorial and some self developed networks. Does anybody has an idea about the origin of the problem? Do you think I should open an issue on github?
I tensorflow/stream_executor/dso_loader.cc:101] successfully opened CUDA library libcublas.so.7.0 locally
I tensorflow/stream_executor/dso_loader.cc:101] successfully opened CUDA library libcudnn.so.6.5 locally
I tensorflow/stream_executor/dso_loader.cc:101] successfully opened CUDA library libcufft.so.7.0 locally
I tensorflow/stream_executor/dso_loader.cc:101] successfully opened CUDA library libcuda.so locally
I tensorflow/stream_executor/dso_loader.cc:101] successfully opened CUDA library libcurand.so.7.0 locally
Traceback (most recent call last):File "cifar10.py", line 54, in <module>"""Number of images to process in a batch.""")File "/disk/no_backup/teichman/tensorflow/gpu_mode/local/lib/python2.7/site-packages/tensorflow/python/platform/default/_flags.py", line 86, in DEFINE_integer_define_helper(flag_name, default_value, docstring, int)File "/disk/no_backup/teichman/tensorflow/gpu_mode/local/lib/python2.7/site-packages/tensorflow/python/platform/default/_flags.py", line 60, in _define_helpertype=flagtype)File "/usr/lib/python2.7/argparse.py", line 1297, in add_argumentreturn self._add_action(action)File "/usr/lib/python2.7/argparse.py", line 1671, in _add_actionself._optionals._add_action(action)File "/usr/lib/python2.7/argparse.py", line 1498, in _add_actionaction = super(_ArgumentGroup, self)._add_action(action)File "/usr/lib/python2.7/argparse.py", line 1311, in _add_actionself._check_conflict(action)File "/usr/lib/python2.7/argparse.py", line 1449, in _check_conflictconflict_handler(action, confl_optionals)File "/usr/lib/python2.7/argparse.py", line 1456, in _handle_conflict_errorraise ArgumentError(action, message % conflict_string)
argparse.ArgumentError: argument --batch_size: conflicting option string(s): --batch_size