Skip to content

Commit 2b0896f

Browse files
authored
fix typo in pix2pix_model.py
udpate -> update
1 parent e2c7618 commit 2b0896f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: models/pix2pix_model.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,4 +124,4 @@ def optimize_parameters(self):
124124
self.set_requires_grad(self.netD, False) # D requires no gradients when optimizing G
125125
self.optimizer_G.zero_grad() # set G's gradients to zero
126126
self.backward_G() # calculate graidents for G
127-
self.optimizer_G.step() # udpate G's weights
127+
self.optimizer_G.step() # update G's weights

0 commit comments

Comments
 (0)