mirror of
https://github.com/dragen1860/TensorFlow-2.x-Tutorials.git
synced 2021-05-12 18:32:23 +03:00
Update resnet.py
Enable training for self.stem
This commit is contained in:
@@ -69,7 +69,7 @@ class ResNet(keras.Model):
|
||||
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user