Skip to content

Commit

Permalink
Update resnet.py
Browse files Browse the repository at this point in the history
Enable training for self.stem
  • Loading branch information
kelvinkoh0308 authored Sep 8, 2019
1 parent 188b47b commit 37da9da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def __init__(self, layer_dims, num_classes=100): # [2, 2, 2, 2]

def call(self, inputs, training=None):

x = self.stem(inputs)
x = self.stem(inputs,training=training)

x = self.layer1(x,training=training)
x = self.layer2(x,training=training)
Expand Down

0 comments on commit 37da9da

Please sign in to comment.