June 23, 2023, 7:48 a.m. | /u/mathiasndiaye

Deep Learning www.reddit.com

Hi everyone,

I'm working on a fight detector. Few days ago I found an interesting paper implementing a CNN+LSTM with quite good results for violence detection.

I would like to implement their model. Here is the link of the paper : [https://deliverypdf.ssrn.com/delivery.php?ID=800100124064071090094085000072099081004046034042033020101112001046029090119009111067089105058063117076066014069065030066046089004054024119011123014127038008100035006073050072075023078053028013051068001021010069094127065108022101092007071093118073029027118095127091066124008066010125068&EXT=pdf&INDEX=TRUE](https://deliverypdf.ssrn.com/delivery.php?ID=800100124064071090094085000072099081004046034042033020101112001046029090119009111067089105058063117076066014069065030066046089004054024119011123014127038008100035006073050072075023078053028013051068001021010069094127065108022101092007071093118073029027118095127091066124008066010125068&EXT=pdf&INDEX=TRUE)

​

So I tried to implement their model with keras by following the architectute (page 4-5) but I have so much parameters for my CNN.

Here is my code for implementing the model :

model = Sequential()

# …

cnn deeplearning detection found good keras lstm paper violence

ML/AI Engineer / NLP Expert - Custom LLM Development (x/f/m)

@ HelloBetter | Remote

Doctoral Researcher (m/f/div) in Automated Processing of Bioimages

@ Leibniz Institute for Natural Product Research and Infection Biology (Leibniz-HKI) | Jena

Seeking Developers and Engineers for AI T-Shirt Generator Project

@ Chevon Hicks | Remote

Security Data Engineer

@ ASML | Veldhoven, Building 08, Netherlands

Data Engineer

@ Parsons Corporation | Pune - Business Bay

Data Engineer

@ Parsons Corporation | Bengaluru, Velankani Tech Park