fork123aniket / Human-Activity-Recognition

Implementation for Video Human Activity Recognition using OpenCV
MIT License
7 stars 0 forks source link

Fail to load ONX model #1

Closed toponsky closed 2 months ago

toponsky commented 2 months ago

Hey,

I am running ubuntu 22.04 and follow error [INFO] loading human activity recognition model... Traceback (most recent call last): File "/home/yiming/opencv_test/test_data/human-activity-recognition/human_activity_reco.py", line 26, in <module> net = cv2.dnn.readNet(args["model"]) cv2.error: OpenCV(4.5.4) ./modules/dnn/src/onnx/onnx_importer.cpp:203: error: (-210:Unsupported format or combination of formats) Failed to parse ONNX model: resnet-34_kinetics.onnx in function 'ONNXImporter'

Would you have any idea to solve it?

toponsky commented 2 months ago

Forgot this. The files need to be actually downloaded, not by clone repo.