From 6b3a71eed25337771399d3eb560132cf511a0c08 Mon Sep 17 00:00:00 2001 From: ShuangLiu1992 Date: Tue, 14 May 2019 14:44:53 +0100 Subject: [PATCH] error message typo --- pytorch2keras/convolution_layers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pytorch2keras/convolution_layers.py b/pytorch2keras/convolution_layers.py index 1d92785..6a6d5d4 100644 --- a/pytorch2keras/convolution_layers.py +++ b/pytorch2keras/convolution_layers.py @@ -245,10 +245,10 @@ def convert_convtranspose(params, w_name, scope_name, inputs, layers, weights, n n_groups = params['group'] if n_groups > 1: - raise AssertionError('Cannot convert conv1d with groups != 1') + raise AssertionError('Cannot convert convtranspose with groups != 1') if params['dilations'][0] > 1: - raise AssertionError('Cannot convert conv1d with dilation_rate != 1') + raise AssertionError('Cannot convert convtranspose with dilation_rate != 1') if bias_name in weights: biases = weights[bias_name].numpy()