Closed shahzebelexoft closed 11 months ago
老哥我也遇到这个问题,你解决了吗? "Hey bro, I've also encountered this issue. Have you solved it?"
我好像知道原因了,作者ucf和ava两个数据集的权重不一样,你下载下面那个权重应该就能运行了
I am training the model on custom data. I have structured my custom data in the same manner as the UCF dataset and also have trained the model. However, upon attempting to load the weights of the model using the eval.py or demo.py, I encountered some shape mismatches in the keys.
@shahzebelexoft Please check the parameter num_classes
carefully. It is possible that when you run demo.py
, the setting of num_classes
is inconsistent with the channel number of cls_pred
of your trained model.
When I run demo.py. I get the following error: