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

python: can't open file 'generate_tfrecord.py': [Errno 2] No such file or directory #113

Open
izyanzayn opened this issue May 13, 2020 · 1 comment

Comments

@izyanzayn
Copy link

sir, i tried to do like this but not in the same folder as in research/object_detection instead i create new folder in desktop and save all the images, train and test images, the xml files in to that folder. i hve already done the train and test.csv with no error but when i try to run code python generate_tfrecord.py ---> python generate_tfrecord.py --csv_input=data/test_labels.csv --output_path=data/test.record --image_dir=test_labels" with "--image_dir=test_labels"
and it shows the error:
python: can't open file 'generate_tfrecord.py': [Errno 2] No such file or directory.
Annotation 2020-05-13 0951e337

which cmd directory should i run the code ?
is it from models/research/object_detection (download from github repo) ?
Annotation 2020-05-13 0951337
or (venv) C:\Users\HP 14\Desktop\IDENTIME
Annotation 2020-05-13 095137
tf\object_detection\data (my own folder in desktop) ?

should i move all the images from current dekstop folder to models/research/object_detection ?

@hostankit
Copy link

Bro, where is generate_tfrecord,py file. download that file in object detection folder. go to object detection cmd directory and then run that code

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

2 participants