2017-10-04 17:18:45 -0600 | marked best answer | DNN module forward() problem cv::dnn::Net net = cv::dnn::readNetFromTensorflow(modelTxt); cv::Mat output = net.forward(); when use dnn module, import a tensorflow model successfully, then do the forward() calculation, a error throw: the assert is here: My Graph is this is my graph, i've already exclude dropout and other components that cannot import in Opencv and the model is imported successfully, but i cannot foward with an single input image BTW, by which way can you show the .pb file in the text window( at Github before) ? |
2017-09-20 20:41:13 -0600 | commented answer | DNN module forward() problem sure I will try it .. |
2017-09-20 01:30:33 -0600 | commented answer | DNN module forward() problem the reason may be , if I use '+' or tf.add, the shape of bias is not certain? but tf.nn.bias_add can make sure the bia |
2017-09-20 01:19:54 -0600 | commented answer | DNN module forward() problem ...I think i've fixed it..... y_conv = tf.matmul(l_fc1, W_fc2) + b_fc2 should be repalced with: Y_re = tf.matmul(l_fc |
2017-09-20 01:19:35 -0600 | commented answer | DNN module forward() problem ...I think i've fixed it..... y_conv = tf.matmul(l_fc1, W_fc2) + b_fc2 should be repalced with: Y_re = tf.matmul(l_fc |
2017-09-19 23:15:39 -0600 | commented answer | DNN module forward() problem yes...opencv 3.3 i downloaded 2 days ago it's strange a more complex tf_model is runing in opencv ok, but this simple o |
2017-09-19 04:17:19 -0600 | edited question | DNN module forward() problem DNN module forward() problem cv::dnn::Net net = cv::dnn::readNetFromTensorflow(modelTxt); cv::Mat output = net.forward() |
2017-09-19 04:17:02 -0600 | edited question | DNN module forward() problem DNN module forward() problem cv::dnn::Net net = cv::dnn::readNetFromTensorflow(modelTxt); cv::Mat output = net.forward() |
2017-09-19 04:16:40 -0600 | edited question | DNN module forward() problem DNN module forward() problem cv::dnn::Net net = cv::dnn::readNetFromTensorflow(modelTxt); cv::Mat output = net.forward() |
2017-09-19 04:15:19 -0600 | commented question | DNN module forward() problem hi, i've posted my graph.. |
2017-09-19 04:14:57 -0600 | commented question | DNN module forward() problem hi, i've post my graph.. |
2017-09-19 04:14:32 -0600 | received badge | ● Editor (source) |
2017-09-19 04:14:32 -0600 | edited question | DNN module forward() problem DNN module forward() problem cv::dnn::Net net = cv::dnn::readNetFromTensorflow(modelTxt); cv::Mat output = net.forward() |
2017-09-19 00:10:22 -0600 | asked a question | DNN module forward() problem DNN module forward() problem cv::dnn::Net net = cv::dnn::readNetFromTensorflow(modelTxt); cv::Mat output = net.forward() |