models icon indicating copy to clipboard operation
models copied to clipboard

tensorflow.python.framework.errors_impl.NotFoundError: object_detection/data/VOCdevkit2/VOC3000/annotations/.DS_S.xml; No such file or directory

Open sed0724963 opened this issue 8 years ago • 3 comments

I try to use create_pascal_tf_record.py to convert the tfrecord, and have questions: DS_S.xml; No such file or directory

what is the DS_S.xml;??

2018-06-17 11 42 55

System information

What is the top-level directory of the model you are using: models/research

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Stock example

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): macOS High Sierra 10.13.4

TensorFlow installed from (source or binary): Source

TensorFlow version (use command below): v1.7 (cpu only)

python object_detection/dataset_tools/create_pascal_tf_record1.py --data_dir=object_detection/data/VOCdevkit2 --label_map_path=object_detection/data1/pascal_label_map.pbtxt --year=VOC3000 --set=train --output_path=object_detection/data/VOCdevkit2/pascal_val.record

sed0724963 avatar Jun 17 '18 03:06 sed0724963

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks. Bazel version CUDA/cuDNN version GPU model and memory Exact command to reproduce

tensorflowbutler avatar Jun 17 '18 12:06 tensorflowbutler

have you addressed this problem ,l meet the same problem

mrainezty avatar Aug 08 '18 03:08 mrainezty

@mrainezty I solved this problem.

I remebered this problem is happened at ".txt file".

I using the "xml_to_txt.py" to created ".txt file" ,but the ".DS_S.xml" will be created by itself in ".txt file".

So I deleted the ".DS_S.xml" on any ".txt file", and it can work now.

sed0724963 avatar Aug 08 '18 07:08 sed0724963