From 7d2f4c8f0addb9896d2efc509f296abfeadca584 Mon Sep 17 00:00:00 2001 From: Abid K <36756466+abid-k@users.noreply.github.com> Date: Thu, 9 Aug 2018 10:43:11 +0530 Subject: [PATCH] Fix nbottoms -> ntops --- software/xtract/caffe_network_parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/software/xtract/caffe_network_parser.cpp b/software/xtract/caffe_network_parser.cpp index 711698e..30d6bf0 100755 --- a/software/xtract/caffe_network_parser.cpp +++ b/software/xtract/caffe_network_parser.cpp @@ -2924,7 +2924,7 @@ void ExtractXCustomParameters(const caffe::LayerParameter& src, XGraph& graph) ASSERT( (ntops > 0) && (nbottoms > 0), EP070, "There should be minimum one top & bottom blobs for layer " << src.name()) - ASSERT( (nbottoms == 1), EP075, + ASSERT( (ntops == 1), EP075, "Currently only one top blob is supported for user_defined_layer: " << src.name()) ELOG( (ntops == 1 && nbottoms == 1 && src.bottom(0) == src.top(0)), EP073,