object_detection_kitti
object_detection_kitti copied to clipboard
kitti_data/train.txt file is missing
following the tutorial (https://medium.com/@sshleifer/how-to-finetune-tensorflows-object-detection-models-on-kitti-self-driving-dataset-c8fcfe3258e9), object_detection_kitti/object_detection/kitti_data directory which further contains training and testing images and labels as below
When run
$ cd object_detection_kitti/object_detection
$ python create_dataset.py
it throws an error:
File "create_dataset.py", line 182, in
it seems "kitti_data/train.txt" file should be there. where is this file coming from? or if $ python create_dataset.py creates it, then why it is asked beforehand.
I am hoping someone is looking at this issue I faced :-(
Good catch! If you git pull
create_dataset should create train.txt as a side effect, I believe
Hi @sshleifer , thanks for the reply. Now could you tell how can we generate it, before running $ python create_dataset.py ?
after adding 'kitti_data/train.txt' manually, another error pops up:
..... ..... ..... File "/home/train/tftrain/object_detection_kitti/object_detection/vod_converter/kitti.py", line 102, in _get_detections with open(detections_fpath) as f: IOError: [Errno 2] No such file or directory: u'/home/train/tftrain/object_detection_kitti/object_detection/kitti_data/training/label_2/.txt'
I think just by adding 'kitti_data/train.txt' didn't solve the issue means the error is somewhere deeper.
Please try running user@...:object_detection_kitti/object_detection$ python create_dataset.py, and you will see the error. Thanks.
you can either run create_dataset again or you can read the code On Mon 9. Apr 2018 at 20:52, ghimiremukti [email protected] wrote:
Hi @sshleifer https://github.com/sshleifer , thanks for the reply. Now could you tell how can we generate it, before running $ python create_dataset.py ?
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/sshleifer/object_detection_kitti/issues/4#issuecomment-379855978, or mute the thread https://github.com/notifications/unsubscribe-auth/AFw9YfZ1873OriCjH8D0BAPkzfKAP9BZks5tm63UgaJpZM4TF_qB .
I did run $run create_dataset.py several times, but no luck.
works on my machine, feel free to fix and send a pull request!
On Mon 9. Apr 2018 at 21:51, ghimiremukti [email protected] wrote:
I did run $run create_dataset.py several times, but no luck.
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/sshleifer/object_detection_kitti/issues/4#issuecomment-379873229, or mute the thread https://github.com/notifications/unsubscribe-auth/AFw9YbteF4IH_ZUNgVMGGbQMWB39s46Lks5tm7vdgaJpZM4TF_qB .