DetectionMetrics icon indicating copy to clipboard operation
DetectionMetrics copied to clipboard

Problem with Yolo V3

Open jessiffmm opened this issue 5 years ago • 9 comments

Hi!!

I'm triying to a yolov3 config and I get some errors. It said that it can't recognized yolo layer, upsampled layer,... I think that https://github.com/JdeRobot/darknet/ isn't compatible with yolo v3

Regards

jessiffmm avatar Feb 08 '19 16:02 jessiffmm

Please post the full error description you are getting for me to help you.

On 08-Feb-2019, at 10:09 PM, jessiffmm [email protected] wrote:

Hi!!

I'm triying to a yolov3 config and I get some errors. It said that it can't recognized yolo layer, upsampled layer,... I think that https://github.com/JdeRobot/darknet/ isn't compatible with yolo v3

Regards

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

vinay0410 avatar Feb 08 '19 16:02 vinay0410

82 Type not recognized: [yolo] Unused field: 'mask = 6,7,8' Unused field: 'anchors = 10,13,16,30,33,23,30,61,62,45,59,119,116,90,156,198,373,326' Unused field: 'classes = 80' Unused field: 'num = 9' Unused field: 'jitter = .3' Unused field: 'ignore_thresh = .7' Unused field: 'truth_thresh = 1' Unused field: 'random = 1' 83 route 79 84 conv 256 1 x 1 / 1 19 x 19 x 512 -> 19 x 19 x 256 85 Type not recognized: [upsample] Unused field: 'stride = 2' 86 route 85 61 87 netwrigth /opt/datasets/weights//yolov3.weights./DatasetEvaluationApp: Violación de segmento (`core' generado)

jessiffmm avatar Feb 09 '19 10:02 jessiffmm

I'm triying to introduce this type of layer in the detectionsuite.

jessiffmm avatar Feb 09 '19 10:02 jessiffmm

I just executed yolov3, and it's not working with JdeRobot/darknet and with DetectionSuite. It's because we are stuck on an outdated fork of darknet, which doesn't support yolov3.

Although, Yolo v1 works well.

If Yolov3 is important for the task you are trying to accomplish, then we could shift to using Yolo's original repository instead of our own fork, which would fix this.

Just let me know, if you'd want that.

vinay0410 avatar Feb 10 '19 06:02 vinay0410

I have downloaded the last https://github.com/pjreddie/darknet and I have adapted it to JdeRobot/darknet for using DarknetApi and install in the computer.

I have this code in my repository (https://github.com/RoboticsURJC-students/2018-tfm-Jessica-Fernandez/tree/master/darknet).

You can used it if you want.

jessiffmm avatar Feb 10 '19 10:02 jessiffmm

Okay, I will look into it tomorrow, and try to integrate it with DetectionSuite. Although, if you are interested in learning more about DetectionSuite, you can submit a pull integrating this.

This file is supposed to be changed.

vinay0410 avatar Feb 10 '19 11:02 vinay0410

No, I adapt it for DetectionSuite. I've tried it with detectionsuite and it works perfectly. Only you have to use my darknet instead of https://github.com/JdeRobot/darknet/ .

I do not know how you could substitute https://github.com/JdeRobot/darknet/ for mine. I don't know if I have permissions.

jessiffmm avatar Feb 10 '19 11:02 jessiffmm

Okay, great. So, I will substitute your fork.

But, I was getting the following error while building it.

In file included from /home/robo/dev/2018-tfm-Jessica-Fernandez/darknet/DarknetAPI/DarknetAPI.cpp:5:0:
/home/robo/dev/2018-tfm-Jessica-Fernandez/darknet/DarknetAPI/DarknetAPI.h:12:10: fatal error: yolo.h: No such file or directory
 #include "yolo.h"
          ^~~~~~~~
compilation terminated.

This file isn't present anywhere in the repository. Could you please fix this

Thanks !!

Once it builds we can substitute it.

vinay0410 avatar Feb 10 '19 12:02 vinay0410

Ohh sorry! Already solved!

Thank you!!

jessiffmm avatar Feb 10 '19 12:02 jessiffmm