Coding Exercise on Masked Modeling

Coding exercise on masked image modeling.

We'll cover the following...

Problem statement

So far while implementing masked image modeling algorithms (SimMIM, MAEs, MSNs), we've used random patch-dropping as our masking strategy. In this exercise, we'll implement another masking strategy called focal masking. Focal masking selects a continuous local block of an image and masks everything around it. The figure below illustrates the difference between random and focal masking.

Access this course and 1400+ top-rated courses and projects.