def cuda(self, device=None): CudaModule.cuda(self, device) self.sentence_embedding.cuda(device) self.unet.cuda(device) if self.ground_loss: self.lang_filter.cuda(device) return self
def cuda(self, device=None): CudaModule.cuda(self, device) for key, aux in self.auxiliaries.items(): aux.cuda(device)
def cuda(self, device=None): CudaModule.cuda(self, device) return self
def cuda(self, device=None): CudaModule.cuda(self, device) self.img_to_features.cuda(device)
def cuda(self, device=None): CudaModule.cuda(self, device) self.feature_net.cuda()
def cuda(self, device=None): CudaModule.cuda(self, device) self.stage1_visitation_prediction.cuda(device) self.map_transformer_w_to_r.cuda(device) return self
def cuda(self, device=None): CudaModule.cuda(self, device) self.map_affine.cuda(device) return self
def cuda(self, device=None): CudaModule.cuda(self, device) #self.map_filter.cuda(device) self.softmax.cuda(device) self.dbg_t = None return self
def cuda(self, device=None): CudaModule.cuda(self, device) self.softmax.cuda(device) self.logsoftmax.cuda(device)
def cuda(self, device=None): CudaModule.cuda(self, device) self.act_loss.cuda(device) self.stoploss.cuda(device)