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

Artificial Intelligence – Bioinformatic Expert

@ University of Texas Medical Branch | Galveston, TX

Lead Developer (AI)

@ Cere Network | San Francisco, US

Research Engineer

@ Allora Labs | Remote

Ecosystem Manager

@ Allora Labs | Remote

Founding AI Engineer, Agents

@ Occam AI | New York

AI Engineer Intern, Agents

@ Occam AI | US