Hello Luppo,
I had the same problem. It worked as soon as I used a String in featmap_names = ['0'].
        roi_pooler = torchvision.ops.MultiScaleRoIAlign(featmap_names=['0'],
                                                        output_size=7,
                                                        sampling_ratio=2)

Maybe it can help you.