RomeroBarata / skeleton_based_anomaly_detection

Code for the CVPR'19 paper "Learning Regularity in Skeleton Trajectories for Anomaly Detection in Videos"
132 stars 49 forks source link

Value Error: You are trying to load a weight file containing 20 layers into a model with 12 layers. #6

Closed AshviniKSharma closed 5 years ago

AshviniKSharma commented 5 years ago

I am getting this error every time I try to test the trained model. Please help

RomeroBarata commented 5 years ago

Hi @AshviniKSharma , Make sure you are evaluating combined_model. Any other model should give you a mismatch between the number of parameters and the pre-trained weights provided.