src/transformers/models/mask2former/convert_mask2former_original_pytorch_checkpoint_to_pytorch.py/prepare_img
def prepare_img():
    url = "http://images.cocodataset.org/val2017/000000039769.jpg"
    img_data = requests.get(url, stream=True).raw
    im = Image.open(img_data)
    return im