Skip to content

Commit aeca83b

Browse files
authored
Update train.py
1 parent 487aabf commit aeca83b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

train.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def _map_fn_train(img):
7373
def train():
7474
G = get_G((batch_size, 96, 96, 3))
7575
D = get_D((batch_size, 384, 384, 3))
76-
VGG = tl.models.vgg19(pretrained=False, end_with='pool4', mode='static')
76+
VGG = tl.models.vgg19(pretrained=True, end_with='pool4', mode='static')
7777

7878
lr_v = tf.Variable(lr_init)
7979
g_optimizer_init = tf.optimizers.Adam(lr_v, beta_1=beta1)

0 commit comments

Comments
 (0)