darkflow icon indicating copy to clipboard operation
darkflow copied to clipboard

YOLOv3 support

Open wkdhkr opened this issue 7 years ago • 33 comments

https://pjreddie.com/darknet/yolo/

Can I use YOLOv3 cfg/weights with darkflow correctly?

wkdhkr avatar Mar 26 '18 03:03 wkdhkr

Just tested, not working. Parsing ./cfg/yolov3.cfg Layer [shortcut] not implemented Hope it will be added soon!

SkullPirateTK avatar Mar 26 '18 05:03 SkullPirateTK

yes, tested and got same a problem!

ccs1605 avatar Mar 26 '18 11:03 ccs1605

If you read the official yolov3-voc.cfg, you will see the CNN is more big, and that is actually related to the code, obviously, the code need to be rewrote for a new CNN.

melonetern avatar Mar 26 '18 14:03 melonetern

Thanks for bringing this up.

I'll try to do minor refactoring gradually, so that the code is easier to read & extend for contributors. I admit after a while not looking at it I'm kind of lost.

thtrieu avatar Mar 29 '18 03:03 thtrieu

YOLO v3 savepb Layer [shortcut] not implemented

hf200012 avatar Apr 26 '18 10:04 hf200012

Hey @thtrieu, Is this supported yet? Or does this still need to be implemented? Great work on the repo anyway!

JelleHoffman avatar May 21 '18 15:05 JelleHoffman

Highly expected.

eric4note avatar May 22 '18 10:05 eric4note

Here, someone has implemented yolov3 in tensorflow. https://github.com/mystic123/tensorflow-yolo-v3

LucasMahieu avatar Jun 05 '18 10:06 LucasMahieu

Hi @LucasMahieu ! This implementation is only for testing, not for trainig. I've found this: https://github.com/raytroop/YOLOv3_tf but I haven't tried yet

ambr89 avatar Jun 08 '18 09:06 ambr89

Hi @ambr89, Thanks for the link, I will try it. It would be nicer if Yolov3 was supported in darkflow...

LucasMahieu avatar Jun 08 '18 09:06 LucasMahieu

I know, at the moment I'm trying to translate from darknet to darflow the missing layer and new loss function, but it isn't easy !!!

ambr89 avatar Jun 08 '18 09:06 ambr89

Great ! Which layer is not easy ? You may need some help ?

LucasMahieu avatar Jun 08 '18 10:06 LucasMahieu

At the moment, I'm trying to reproduce loss function. The upsample layer I hope I did well, but while I haven't finisched I don't know if work.

ambr89 avatar Jun 08 '18 10:06 ambr89

@ambr89 I can help you with the translation , I have already translated the 3 new darknet layers to darkflow (need to look for the project cause it's been a while) , contact me if you want to colaborate ! cheers

obendidi avatar Jun 08 '18 10:06 obendidi

@ambr89, @bendidi, @LucasMahieu have you agreed on what is needed to do next? Do you have a list of milestones we could help with?

slothkong avatar Jun 15 '18 05:06 slothkong

Hi everybody! At the moment, I'm using this project It isn't darkflow but it's quite similar.

ambr89 avatar Jun 15 '18 07:06 ambr89

Do you think it will be add in darflow ? Actually, I don't understand why yolov3 could not be supported directly in darkflow ?

LucasMahieu avatar Jun 15 '18 08:06 LucasMahieu

Still not working

Layer [shortcut] not implemented

drew-neely avatar Jun 25 '18 23:06 drew-neely

Still not working...

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

JoffreyN avatar Jul 19 '18 03:07 JoffreyN

Maybe the support of tiny yolo v3 would be a good beginning. The shortcut layer is not used in Yolov3-tiny.

So, supporting yolov3 tiny is only question of upsampling layer (which can be implemented with a Resize Nearest Neighbor in tensorflow).

@ambr89 did you succeeded to run tiny yolo v3 with darkflow ?

LucasMahieu avatar Jul 24 '18 14:07 LucasMahieu

What about this project: https://github.com/qqwweee/keras-yolo3

It uses Keras with TF backend. But not sure whether it can be used to train with my own classes. Lots of work,, it seems :)

prdas31 avatar Aug 02 '18 05:08 prdas31

Hi, I'm using https://github.com/mystic123/tensorflow-yolo-v3 and I'm getting different output formats. Does anyone know if there's any implementation yet of Darkflow that supports Yolov3?

javierfuenca avatar Dec 03 '18 11:12 javierfuenca

Thanks for bringing this up.

I'll try to do minor refactoring gradually, so that the code is easier to read & extend for contributors. I admit after a while not looking at it I'm kind of lost.

@thtrieu hi guys,have you refactoring it,does it work for yolov3,i am wondering for it,ths

shenyingying avatar Dec 13 '18 08:12 shenyingying

Here, someone has implemented yolov3 in tensorflow. https://github.com/mystic123/tensorflow-yolo-v3

@LucasMahieu it's seems not work for AS demo

shenyingying avatar Dec 13 '18 08:12 shenyingying

@ambr89 I can help you with the translation , I have already translated the 3 new darknet layers to darkflow (need to look for the project cause it's been a while) , contact me if you want to colaborate ! cheers

@bendidi i need ,ths!

shenyingying avatar Dec 13 '18 08:12 shenyingying

Maybe the support of tiny yolo v3 would be a good beginning. The shortcut layer is not used in Yolov3-tiny.

So, supporting yolov3 tiny is only question of upsampling layer (which can be implemented with a Resize Nearest Neighbor in tensorflow).

@ambr89 did you succeeded to run tiny yolo v3 with darkflow ?

Parsing yolov3-tiny.cfg Layer [yolo] not implemented no ,it didn't work

shenyingying avatar Dec 13 '18 08:12 shenyingying

For those wanting to convert Yolo-v3 from Darknet to TensorFlow:

Yolo-v3 support was recently added to DW2TF (see this PR).

Worth noting that unlike Darkflow which is also a runtime env for training/inference, DW2TF can only convert a Darknet model & weights to TensorFlow. Running training/inference on it would then be up to the user.

sjain-stanford avatar Jan 19 '19 18:01 sjain-stanford

Are people still trying to chip away at v3 support, or has this gone cold?

Last commit was 11 months ago 🤔

willbattel avatar Feb 26 '19 03:02 willbattel

@thtrieu

@thtrieu any update on this? is this issue resolved?

Layer [shortcut] not implemented

I still get the same error

azainab avatar Apr 18 '19 23:04 azainab

Hi everybody!

I've translate yolov3 from .ckpt to .pb and from .pb to .tflite

I've use keras, something like this https://github.com/qqwweee/keras-yolo3

ambr89 avatar Apr 19 '19 12:04 ambr89

Hi everybody!

I've translate yolov3 from .ckpt to .pb and from .pb to .tflite

I've use keras, something like this https://github.com/qqwweee/keras-yolo3

Hi Sir, Still waiting for that update. Have to use darknet and thats a bit difficult for windows users.

fadi212 avatar Jul 15 '19 11:07 fadi212

Any update on this? still waiting for v3 support.

JJeonggg avatar Aug 18 '20 04:08 JJeonggg