Example #1
0
 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)
Example #3
0
 def cuda(self, device=None):
     CudaModule.cuda(self, device)
     return self
Example #4
0
 def cuda(self, device=None):
     CudaModule.cuda(self, device)
     self.img_to_features.cuda(device)
Example #5
0
 def cuda(self, device=None):
     CudaModule.cuda(self, device)
     self.feature_net.cuda()
Example #6
0
 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
Example #7
0
 def cuda(self, device=None):
     CudaModule.cuda(self, device)
     self.map_affine.cuda(device)
     return self
Example #8
0
 def cuda(self, device=None):
     CudaModule.cuda(self, device)
     #self.map_filter.cuda(device)
     self.softmax.cuda(device)
     self.dbg_t = None
     return self
Example #9
0
 def cuda(self, device=None):
     CudaModule.cuda(self, device)
     self.softmax.cuda(device)
     self.logsoftmax.cuda(device)
Example #10
0
 def cuda(self, device=None):
     CudaModule.cuda(self, device)
     self.act_loss.cuda(device)
     self.stoploss.cuda(device)