mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
removes unnecessary text replacement in path that causes bugs for hash generated filenames
This commit is contained in:
parent
61c9d02ec4
commit
8575353de8
@ -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(path, "images", "labels", labelpath);
|
||||||
find_replace(labelpath, "JPEGImages", "labels", labelpath);
|
find_replace(labelpath, "JPEGImages", "labels", labelpath);
|
||||||
|
|
||||||
find_replace(labelpath, "raw", "labels", labelpath);
|
|
||||||
find_replace(labelpath, ".jpg", ".txt", labelpath);
|
find_replace(labelpath, ".jpg", ".txt", labelpath);
|
||||||
find_replace(labelpath, ".png", ".txt", labelpath);
|
find_replace(labelpath, ".png", ".txt", labelpath);
|
||||||
find_replace(labelpath, ".JPG", ".txt", labelpath);
|
find_replace(labelpath, ".JPG", ".txt", labelpath);
|
||||||
|
Loading…
Reference in New Issue
Block a user