flip 2 tensor mask with Pythorch

前端 未结 0 1250
情歌与酒
情歌与酒 2021-02-15 09:05

I created 2 masks of 2 images by pytorch,

self.img_m = self.mask * self.img_truth
x = self.mask * self.img_m
y = (1 - self.mask) * self.img_g[-1].detach()
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题