for-aiur / yolo_cpp

C++ed version of Yolo
Other
69 stars 37 forks source link

using yolo version 3 model #8

Open pouya-codes opened 6 years ago

pouya-codes commented 6 years ago

Hi, as you know new version of yolo was released a month ago, I tried to use it in your c++ API but I got this error :

   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 = .5'
Unused field: 'truth_thresh = 1'
Unused field: 'random = 1'
   83 route  79
   84 conv    256  1 x 1 / 1    13 x  13 x 512   ->    13 x  13 x 256
   85 Type not recognized: [upsample]
Unused field: 'stride = 2'
   86 route  85 61
   87 /home/pouya/Develop/QtProject/build-CarDetector-Desktop-Release/CarDetector: : Unknown error 1151903700
felixladeia commented 5 years ago

I am also having the same problem. Anyone can help?

hongson23 commented 5 years ago

Thank @for-aiur for your solution, it works perfectly for YOLO version 2 In version 3, I have the same problem. @for-aiur Do you have a plan for update code to support latest version of YOLO? Thanks