rafaelpadilla / darknet

Useful functionalities added on the original darknet public repository.
Other
36 stars 17 forks source link

Segmentation fault while processing multiple images #4

Closed chandang78 closed 6 years ago

chandang78 commented 6 years ago

Hi, I trained a model over custom dataset (using AlexeyAB code) and I tried to process a batch of images with this repo using this command -

./darknet testimages newdata/obj.data newdata/yolov3-tiny-obj.cfg newdata/yolov3-tiny-obj_4000.weights -savetxt -saveimg

But I get this error -

Arguments: dataFile: newdata/obj.data cfgFile: newdata/yolov3-tiny-obj.cfg weightsFile: newdata/yolov3-tiny-obj_4000.weights thresh: 0.250000 hier_thresh: 0.500000 filename: (null) saveImArg: -saveimg saveTxtArg: -savetxt showimg: (null) Segmentation fault (core dumped)

Please help, let me know if you need any more info.

Thanks!

rafaelpadilla commented 6 years ago

Dear @chandang78 ,

This repository was designed to work with Yolo V2. Are you using Yolo V3?

I need to check your files (obj.data, yolov3-tiny-obj.cfg, yolov3-tiny-obj_4000.weights). Could you post them in a google drive and share the link with me, please?

Regards

chandang78 commented 6 years ago

Hi, Thank you for your time. Yes, I am using YOLOv3. I didn't have much time, so wrote a crude script in python to draw the predicted bounding boxes from the result.txt file generated when a batch of images are given as input in the original darknet repo.

Once again Thank You Regards Chandan

On Tue, Sep 11, 2018 at 10:15 PM Rafael Padilla notifications@github.com wrote:

Dear @chandang78 https://github.com/chandang78 ,

This repository was designed to work with Yolo V2. Are you using Yolo V3?

I need to check your files (obj.data, yolov3-tiny-obj.cfg, yolov3-tiny-obj_4000.weights). Could you post them in a google drive and share the link with me, please?

Regards

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/rafaelpadilla/darknet/issues/4#issuecomment-420340812, or mute the thread https://github.com/notifications/unsubscribe-auth/AMqAacFGfiTAS2bXlQ-WS2hmjOYE-ov8ks5uZ-i6gaJpZM4WCjrl .

rafaelpadilla commented 6 years ago

Mr. Chandan,

Nice! Thus I will consider this "issue" as closed.