Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

images not being saved #21

Open
fawazsammani opened this issue Jul 15, 2018 · 5 comments
Open

images not being saved #21

fawazsammani opened this issue Jul 15, 2018 · 5 comments

Comments

@fawazsammani
Copy link

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?

@Dmaner
Copy link

Dmaner commented Aug 2, 2018

ME TOO

@ghost
Copy link

ghost commented Aug 3, 2018

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
ayooshkathuria/pytorch-yolo-v3#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

@ninthtide
Copy link

Brilliant - many thanks Stevbeef, solved my problem too

@SSJIACV
Copy link

SSJIACV commented Jun 5, 2019

many thanks Stevbeef, solved my problem too

@rakeshsalian
Copy link

many thanks Stevbeef, highly appriciate your post.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants