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

Layer [shortcut] not implemented #574

Open
Urviagrawal opened this issue Mar 27, 2018 · 13 comments
Open

Layer [shortcut] not implemented #574

Urviagrawal opened this issue Mar 27, 2018 · 13 comments

Comments

@Urviagrawal
Copy link

Urviagrawal commented Mar 27, 2018

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

@abagshaw
Copy link

@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.

@Urviagrawal
Copy link
Author

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

@nemkin
Copy link

nemkin commented Mar 29, 2018

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! :)

@abagshaw
Copy link

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

@Urviagrawal
Copy link
Author

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

@fbadaud
Copy link

fbadaud commented May 16, 2018

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

@Poojawan
Copy link

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

@fionasoon1
Copy link

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

but not work for yolov3

@anshulg03
Copy link

Guys how to convert yolov3 weights to pb file?

@jeffreyhong0217
Copy link

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

@AlexeyAB
Copy link
Collaborator

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

@jeffreyhong0217
Copy link

@AlexeyAB OK!Thanks!

@angyee
Copy link

angyee commented Mar 7, 2020

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

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

10 participants