Closed yuanmu97 closed 5 years ago
The reference results are from https://github.com/deepmind/kinetics-i3d/blob/master/evaluate_sample.py
According to these lines: https://github.com/deepmind/kinetics-i3d/blob/master/evaluate_sample.py#L71-L73
The numpy file is saved as [1,time,height,width,channels]
so when you do: inp = inp.reshape(1,3,79,224,224)
that is greatly changing the input data. Reshape to the proper shape, then transpose the axes to get the desired input shape.
Also, make sure the models are the same. Kinetics-400 and 600 have different labels, and the corresponding indices may be different between them.
Solve it! Thanks for your help~
@openyuanmu may I know how you reshaped the input?
My features are in shape: (1, 74, 224, 224, 3)
I get:
RuntimeError: Given groups=1, weight of size 64 3 7 7 7, expected input[1, 74, 229, 229, 9] to have 3 channels, but got 74 channels instead
Does it mean it should be in the order of: [1,channels,height,width,time] ?
Thank you.
Solve it! Thanks for your help~
Hey @yuanmu97 ! did you get the same results as the reported evaluation results that you mentioned? Because even with the transpose my results are a bit different
@openyuanmu may I know how you reshaped the input? My features are in shape: (1, 74, 224, 224, 3) I get:
RuntimeError: Given groups=1, weight of size 64 3 7 7 7, expected input[1, 74, 229, 229, 9] to have 3 channels, but got 74 channels instead
Does it mean it should be in the order of: [1,channels,height,width,time] ? Thank you.
hi,have you solve this problem?
The reference results are from https://github.com/deepmind/kinetics-i3d/blob/master/evaluate_sample.py
hi, can you tell how to solve it ? hope hope hope to get your reply
According to the reported evaluation results of :
But using the converted 'models/rgb_imagenet.pt', I got the logits results:
The test code I use is:
what's the problem here?
thanks!