I am following this tutorial to fine-tune SlowFast on my own dataset which includes videos at 29 fps, I am using slowfast_4x16_resnet50_custom model with this loader:
but getting the following error while trying to run inference: MXNetError: Check failed: dim_size_is_known(d[i]): Shape dim size must be known, while received -1
I am following this tutorial to fine-tune SlowFast on my own dataset which includes videos at 29 fps, I am using
slowfast_4x16_resnet50_custom
model with this loader:train_dataset = VideoClsCustom(root=os.path.expanduser('/content/drive/MyDrive/new'), setting=os.path.expanduser('/content/train.txt'), train=True, new_length=64, slowfast=True, slow_temporal_stride=16, fast_temporal_stride=2, transform=transform_train, video_loader=True, use_decord=True)
but getting the following error while trying to run inference:
MXNetError: Check failed: dim_size_is_known(d[i]): Shape dim size must be known, while received -1
Any help would be greatly appreciated. @bryanyzhu