Errors in dataset_preparation
Eunho-J opened this issue · comments
I think you need to remove if-state in run_yolo.sh to your README.md's code run (in your darknet repository)
if [[ -f $IMG_PATHS_FILE ]]; then
image_paths=$(cat "$IMG_PATHS_FILE")
else
image_paths=$(find "$IMG_ROOT" -name '*.jpg')
fi
to
image_paths=$(find "$IMG_ROOT" -name '*.jpg')
Thanks! I added another check in run_yolo.sh
whether $IMG_PATHS_FILE
is supplied or not.
However, I now mostly use the TensorFlow-based YOLOv4 from https://github.com/isarandi/tensorflow-yolov4-tflite