How to train a pretrained R(2+1)D #1420
abhishek0696
started this conversation in
Design
Replies: 1 comment
-
MMAction2 does not support train R(2+1)D on ImageNet weights since the shape of Conv2plus1d is not the same as that in ImageNet weight. If you still need to do this, maybe you can inflate the pretrained weight into R21D's shape in the way like I3D https://github.com/open-mmlab/mmaction2/blob/master/mmaction/models/backbones/resnet3d.py#L690. If you want to finetune on your own dataset, you can use the K400 R21D weight in our modelzoo by changing |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Most of the models such as TANet, TPN, Timesformer has default code for pre-trained models (usually Imagenet). I want to train R(2+1)D on pretrained weights on imagenet or something.
But when I tried to change the pretrained thing in the base file like this:
It gave me this error:
Please guide me on how to train the R(2+1)D on pretrained weights. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions