ankankbhunia commited on
Commit
6613ed6
1 Parent(s): 1129c08

Update models/model.py

Browse files
Files changed (1) hide show
  1. models/model.py +1 -1
models/model.py CHANGED
@@ -317,7 +317,7 @@ class TRGAN(nn.Module):
317
  self.OCR_criterion = CTCLoss(zero_infinity=True, reduction='none')
318
 
319
  block_idx = InceptionV3.BLOCK_INDEX_BY_DIM[2048]
320
- self.inception = InceptionV3([block_idx]).to(DEVICE)
321
 
322
 
323
  self.optimizer_G = torch.optim.Adam(self.netG.parameters(),
 
317
  self.OCR_criterion = CTCLoss(zero_infinity=True, reduction='none')
318
 
319
  block_idx = InceptionV3.BLOCK_INDEX_BY_DIM[2048]
320
+ #self.inception = InceptionV3([block_idx]).to(DEVICE)
321
 
322
 
323
  self.optimizer_G = torch.optim.Adam(self.netG.parameters(),