pad layer mode for regression
@@ -122,7 +122,8 @@ class RegressionApplication(BaseApplication):
if self.net_param.volume_padding_size:
volume_padding_layer.append(PadLayer(
image_name=SUPPORTED_INPUT,
- border=self.net_param.volume_padding_size))
+ border=self.net_param.volume_padding_size,
+ mode=self.net_param.volume_padding_mode))
for reader in self.readers:
reader.add_preprocessing_layers(volume_padding_layer +
normalisation_layers +
