When using the Fine-tuning ViLT for VQA.ipynb jupyternotebook, follow the steps, but cannot pass this code: encoding = processor.feature_extractor.pad_and_create_pixel_mask(pixel_values, return_tensors="pt").
It says AttributeError: 'ViltImageProcessor' object has no attribute 'pad_and_create_pixel_mask'
When using the Fine-tuning ViLT for VQA.ipynb jupyternotebook, follow the steps, but cannot pass this code: encoding = processor.feature_extractor.pad_and_create_pixel_mask(pixel_values, return_tensors="pt").
It says AttributeError: 'ViltImageProcessor' object has no attribute 'pad_and_create_pixel_mask'