def forward(self, image1):
    ' get featmap for one frame '
    image1 = ((2 * (image1 / 255.0)) - 1.0)
    image1 = image1.contiguous()
    hdim = self.hidden_dim
    cdim = self.context_dim
    with autocast(enabled=self.args.mixed_precision):
        fmap1 = self.fnet(image1)
    fmap1 = fmap1.float()
    return fmap1
get featmap for one frame
def forward(self, image1):
    '  '
    image1 = ((2 * (image1 / 255.0)) - 1.0)
    image1 = image1.contiguous()
    hdim = self.hidden_dim
    cdim = self.context_dim
    with autocast(enabled=self.args.mixed_precision):
        fmap1 = self.fnet(image1)
    fmap1 = fmap1.float()
    return fmap1