MobileNet icon indicating copy to clipboard operation
MobileNet copied to clipboard

tensorflow 1.4

Open PythonImageDeveloper opened this issue 8 years ago • 0 comments

i have ubuntu 16.04 , cuda 8.0 , cudnn 7 , TF1.4 , python2.7 , 3.5

when i run python ./tools/tf_convert_data.py , i get this error :

('Dataset root dir:', None) ('Output directory:', './') Traceback (most recent call last): File "./tools/tf_convert_data.py", line 72, in tf.app.run() File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 44, in run _sys.exit(main(_sys.argv[:1] + flags_passthrough)) File "./tools/tf_convert_data.py", line 62, in main shuffling=True) File "/home/mm/MobileNet-master/tools/../datasets/pascalvoc_to_tfrecords.py", line 203, in run '%s.txt'%split) File "/usr/lib/python2.7/posixpath.py", line 70, in join elif path == '' or path.endswith('/'): AttributeError: 'NoneType' object has no attribute 'endswith'


when i run python3 ./tools/tf_convert_data.py , i get this error :

Dataset root dir: None Output directory: ./ Traceback (most recent call last): File "./tools/tf_convert_data.py", line 72, in tf.app.run() File "/home/mm/.local/lib/python3.5/site-packages/tensorflow/python/platform/app.py", line 48, in run _sys.exit(main(_sys.argv[:1] + flags_passthrough)) File "./tools/tf_convert_data.py", line 62, in main shuffling=True) File "/home/mm/MobileNet-master/tools/../datasets/pascalvoc_to_tfrecords.py", line 203, in run '%s.txt'%split) File "/usr/lib/python3.5/posixpath.py", line 89, in join genericpath._check_arg_types('join', a, *p) File "/usr/lib/python3.5/genericpath.py", line 143, in _check_arg_types (funcname, s.class.name)) from None TypeError: join() argument must be str or bytes, not 'NoneType'

####in this command "python ./tools/tf_convert_data.py " didnt clarify which dataset should be convert voc ot kitti ?

PythonImageDeveloper avatar Jan 25 '18 12:01 PythonImageDeveloper