Darknet: Layer [shortcut] not implemented

Created on 27 Mar 2018  路  13Comments  路  Source: pjreddie/darknet

Hii
I am getting this error while using yolov3 cfg file.
Parsing ./cfg/yolov3.cfg
Layer [shortcut] not implemented
can someone please help me

Most helpful comment

hello , I am trying to use create .pb file for a YOLOV3 already trained network . For this I was using darkflow and it works perfectly on YOLOV2 but for V3 it looks that some definitions are mot existing already.
Is there another method to create the pb files for YOLOV3 ?
thanks in advance for your support

All 13 comments

@Urviagrawal Are you trying to use YOLOv3 with https://github.com/thtrieu/darkflow or some other darknet port? YOLOv3 is relatively new and is not supported (yet) by darkflow and probably by most other darknet ports.

Yes I am using darkflow. If I want to use YOLOv3 using python how am I supposed to proceed?

Hello!

I have the same problem.

I have checked out from this remote:
https://github.com/thtrieu/darkflow.git

On commit:
b2aee0000cd2a956b9f1de6dbfef94d53158b7d8

Ran:
pip install .

Downloaded the following cfg and model:
https://github.com/pjreddie/darknet/blob/master/cfg/yolov3.cfg
https://pjreddie.com/media/files/yolov3.weights

Ran:
flow --model cfg/yolov3-new.cfg --load bin/yolov3.weights

Got the following error:

Parsing ./cfg/yolov3.cfg
Layer [shortcut] not implemented

What was used to generate these new files then?

Edit: I realized, I have to use darknet: https://github.com/pjreddie/darknet

Thanks! :)

Yes, for now you'll have to use darknet directly. Stay tuned to this issue: https://github.com/thtrieu/darkflow/issues/665 regarding YOLOv3 support on darkflow.

@abagshaw thank you. Can you help me in using darknet using python?

hello , I am trying to use create .pb file for a YOLOV3 already trained network . For this I was using darkflow and it works perfectly on YOLOV2 but for V3 it looks that some definitions are mot existing already.
Is there another method to create the pb files for YOLOV3 ?
thanks in advance for your support

Is there another method to create the pb files for YOLOV3 ?

Try this and it works
python flow --model cfg/yolo.cfg --load bin/yolov2.weights --demo video.mp4 --saveVideo

but not work for yolov3

Guys how to convert yolov3 weights to pb file?

How to convert yolov3 weights to pb file?Anybody knows???

@jeffreyhong0217
Read this, how to convert cfg/weights to .ckpt/pb/meta https://github.com/AlexeyAB/darknet#yolo-v3-in-other-frameworks

@AlexeyAB OK!Thanks!

I am trying to convert yolov3_spp to caffemodel. please help using https://github.com/hojel/caffe-yolo-model this repo I am trying but

getting error

$ sudo python3 create_yolo_prototxt.py yolov3-spp.cfg yolov3-spp.prototxt
ERROR:root:shortcut layer is not supported
ERROR:root:shortcut layer is not supported
ERROR:root:shortcut layer is not supported
ERROR:root:shortcut layer is not supported
ERROR:root:shortcut layer is not supported
ERROR:root:shortcut layer is not supported
ERROR:root:shortcut layer is not supported
ERROR:root:shortcut layer is not supported
ERROR:root:shortcut layer is not supported
ERROR:root:shortcut layer is not supported
ERROR:root:shortcut layer is not supported
ERROR:root:shortcut layer is not supported
ERROR:root:shortcut layer is not supported
ERROR:root:shortcut layer is not supported
ERROR:root:shortcut layer is not supported
ERROR:root:shortcut layer is not supported
ERROR:root:shortcut layer is not supported
ERROR:root:shortcut layer is not supported
ERROR:root:shortcut layer is not supported
ERROR:root:shortcut layer is not supported
ERROR:root:shortcut layer is not supported
ERROR:root:shortcut layer is not supported
ERROR:root:shortcut layer is not supported
ERROR:root:route layer is not supported
ERROR:root:route layer is not supported
ERROR:root:route layer is not supported
ERROR:root:yolo layer is not supported
ERROR:root:route layer is not supported
ERROR:root:upsample layer is not supported
ERROR:root:route layer is not supported
ERROR:root:yolo layer is not supported
ERROR:root:route layer is not supported
ERROR:root:upsample layer is not supported
ERROR:root:route layer is not supported
ERROR:root:yolo layer is not supported

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TheHidden1 picture TheHidden1  路  3Comments

ghost picture ghost  路  4Comments

job2003 picture job2003  路  3Comments

bujingdexin picture bujingdexin  路  3Comments

groot-1313 picture groot-1313  路  4Comments