hustvl/MapTR

Inference Data Argument

Opened this issue · 0 comments

During the model inference process, I found that there is a function int maptr.py named def extract_img_featm the content is:

        if self.use_grid_mask:
            img = self.grid_mask(img) 

I found that grid_mask is a method for Data Argument, why do we need this during the inference rather than training?