removes unnecessary text replacement in path that causes bugs for hash generated filenames

This commit is contained in:
Sylvia 2019-07-01 11:08:23 -04:00
parent 61c9d02ec4
commit 8575353de8

View File

@ -450,7 +450,6 @@ void fill_truth_detection(char *path, int num_boxes, float *truth, int classes,
find_replace(path, "images", "labels", labelpath);
find_replace(labelpath, "JPEGImages", "labels", labelpath);
find_replace(labelpath, "raw", "labels", labelpath);
find_replace(labelpath, ".jpg", ".txt", labelpath);
find_replace(labelpath, ".png", ".txt", labelpath);
find_replace(labelpath, ".JPG", ".txt", labelpath);