if (layerInpShapes.size() == 0) { for (int j = 0; j < node_proto.input_size(); j++) { const std::string& input_name = node_proto.input(0); IterShape_t shapeIt = outShapes.find(input_name); CV_Assert(shapeIt != outShapes.end()); layerInpShapes.push_back(shapeIt->second...
print final_model.inputs final_model.compile(optimizer='adam', loss='mean_squared_error') print(trainX_NN.shape) print(trainX_CNN.shape) print(trainX_LSTM.shape) final_model.fit([trainX_NN, trainX_CNN, trainX_LSTM], trainY, epochs=10, batch_size=batch_size, verbose=2) ...
D1 llama模型优化 导出mindir后推理报错[Default/Concat-op0-plant_input] "the input shape dims should be equal except merge axis [ERROR] OP(3730133,python):2024-04-22-10:43:06.781.674 [split_combination_ops.cc:1213][OP_PROTO][ConcatInferShapeCommon][3731381] OpName:[Default/Concat-op0-pla...