haofengac / MonoDepth-FPN-PyTorch

Single Image Depth Estimation with Feature Pyramid Network
MIT License
326 stars 69 forks source link

代码 #18

Open SXliu1995 opened 5 years ago

SXliu1995 commented 5 years ago

d5, d4, d3, d2 = self.up1(self.agg1(p5)), self.up2(self.agg2(p4)), self.up3(self.agg3(p3)), self.agg4(p2) ,,H,W = d2.size() vol = torch.cat( [ F.upsample(d, size=(H,W), mode='bilinear') for d in [d5,d4,d3,d2] ], dim=1 ) 请问一下,这几行是什么意思?作用是干什么的?