diff --git a/mindspore/lite/tools/converter/quantizer/weight_quantizer.cc b/mindspore/lite/tools/converter/quantizer/weight_quantizer.cc index 1b1902c29d..1b5a940ae2 100644 --- a/mindspore/lite/tools/converter/quantizer/weight_quantizer.cc +++ b/mindspore/lite/tools/converter/quantizer/weight_quantizer.cc @@ -100,8 +100,9 @@ STATUS WeightQuantizer::DoConvQuantize(CNodePtr cnode) { } if (param_value->tensor_type() != mindspore::kNumberTypeFloat32) { - MS_LOG(ERROR) << "model weight data type invalid which is " << param_value->tensor_type(); - return RET_ERROR; + MS_LOG(WARNING) << cnode->fullname_with_scope() << " weight data type is not fp32 but " + << param_value->tensor_type(); + return RET_OK; } auto status = RET_ERROR; if (type_id_ == kNumberTypeInt8) {