# Revision history [back]

### cv2.error: OpenCV(4.0.0): …(-215:Assertion failed)… ONNXImporter::getLayerParams'

I was trying to run a code for activity detection, but I get the following error. What is the problem? I have OpenCV(4.0.0) and am using windows. It's my first time running a DNN with openCV.

model = "resnet-34_kinetics.onnx"
classess = "action_recognition_kinetics.txt"
input_video = "video1.mp4"

# load the human activity recognition model

Traceback (most recent call last):