YOLO_v3_tutorial_from_scratch
YOLO_v3_tutorial_from_scratch copied to clipboard
images not being saved
Hi. Thank you for this tutorial. I am actually running the detection.py file, the output of the images describing their labels is showing, however the images with the bounding boxes are not being saved in the det folder. I debugged the code part by part. I corrected what is needed and what was raised in previous issues. However, i still can't get the images saved. May i know what's the problem?
ME TOO
After try and error i found out its because of the wrong path in line 203
det_names = pd.Series(imlist).apply(lambda x: "{}/det_{}".format(args.det,x.split("/")[-1]))
then i noticed the issue is already answered in the other YoloV3 Repository https://github.com/ayooshkathuria/pytorch-yolo-v3/issues/38
you only have to change
det_names = pd.Series(imlist).apply(lambda x: "{}/det_{}".format(args.det,x.split("\\")[-1]))
Then it worked in my case
Brilliant - many thanks Stevbeef, solved my problem too
many thanks Stevbeef, solved my problem too
many thanks Stevbeef, highly appriciate your post.