From 53546fa91894a7cc570c39db8b396e937b27c66f Mon Sep 17 00:00:00 2001 From: "jeffrey.godwin" Date: Mon, 23 Sep 2019 21:10:11 -0600 Subject: [PATCH] fix upsampling2d function name so that it is consistent with other naming conventions, this resolves this attribute error for some models: AttributeError: 'CntkEmitter' object has no attribute '_layer_UpSampling2D' --- mmdnn/conversion/cntk/cntk_emitter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mmdnn/conversion/cntk/cntk_emitter.py b/mmdnn/conversion/cntk/cntk_emitter.py index 6778d399..770164c7 100644 --- a/mmdnn/conversion/cntk/cntk_emitter.py +++ b/mmdnn/conversion/cntk/cntk_emitter.py @@ -766,7 +766,7 @@ def yolo_parameter(): '''.format(self.yolo_parameter)) - def _layer_upsample(self): + def _layer_UpSampling2D(self): self.add_body(0, ''' def Upsampling2D(x, stride, name): assert stride == 2