Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tensorflow 1.4 #60

Open
PythonImageDeveloper opened this issue Jan 25, 2018 · 0 comments
Open

tensorflow 1.4 #60

PythonImageDeveloper opened this issue Jan 25, 2018 · 0 comments

Comments

@PythonImageDeveloper
Copy link

PythonImageDeveloper commented Jan 25, 2018

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant