AlexeyAB / darknet

YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )
http://pjreddie.com/darknet/
Other
21.66k stars 7.96k forks source link

Questions of Conv_LSTM implementation #3326

Open kungkungpanda opened 5 years ago

kungkungpanda commented 5 years ago

@AlexeyAB Great work! Thank you very much for sharing the code.

I have a three questions about your implementation.

Many thanks!

AlexeyAB commented 5 years ago

@kungkungpanda Hi,

1.-2. Yes, I implemented the same conv-LSTM as in this paper if peephole=0, except if peephole=1 then I use in peephole: * - Convolution instead of o - Element-wise-product (Hadamard product), so convLSTM is still resizable - can be used with any network input resolution: image

  1. I fixed it. Use the lates version of Darknet and set random=1 in the last [yolo]-layer. But resizing for conv-LSTM layer isn't tested, so the training can be unstable. May be it will be solved later by using special pre-trained LSTM-weights on lstm-Classifier.
kungkungpanda commented 5 years ago

@AlexeyAB Thanks for your answers! 👍 I have additional questions.

What's the role of "seq_scales" and "sequential_subdivisions" in cfg file? Are the roles of "scales" and "seq_sales" different in the cfg file? Are the roles of "subdivisions" and "sequential_subdivisions" different? Sorry if I ask naive questions.

Many thanks!

AlexeyAB commented 5 years ago

@kungkungpanda

What's the role of "seq_scales" and "sequential_subdivisions" in cfg file?

Read wiki (it is in progress): https://github.com/AlexeyAB/darknet/wiki/CFG-Parameters-in-the-%5Bnet%5D-section

Are the roles of "scales" and "seq_sales" different in the cfg file?

Yes

Are the roles of "subdivisions" and "sequential_subdivisions" different?

Yes

nikhillovestech commented 4 years ago

@AlexeyAB Thanks for your work.

Can you please guide me to make yolov3-spp_lstm version in tensorflow for inference

nikhillovestech commented 4 years ago

I tried but conv_lstm weights can't load it gives error.