2018-12-23 13:50:11 -0600 | marked best answer | Dnn forward result has rows = -1, colums = -1 Hi there, I'm trying to translate this WORKING Python code for Neural Transfer Style on Java (Android).(the original work is from https://www.pyimagesearch.com/2018/08...). In python the test image shape is When I try converting the code to Java (see below), the resulting matrix I get is I post below my working code in python and my initial tentative in Java. I've searched a lot these days to find a solution, but I cannot find it, please help me!!! Thank you PYTHON CODE JAVA CODE |
2018-12-23 13:50:11 -0600 | received badge | ● Scholar (source) |
2018-12-23 09:51:54 -0600 | received badge | ● Supporter (source) |
2018-12-23 09:50:49 -0600 | commented answer | Dnn forward result has rows = -1, colums = -1 Just tried with OpenCv Android SDK 4.0.1, I confirm everything works as expected with your sample. Thanks again for your |
2018-12-23 09:40:14 -0600 | received badge | ● Student (source) |
2018-12-23 09:01:46 -0600 | commented answer | Dnn forward result has rows = -1, colums = -1 I try the example using OpenCv 4.0 and report to you soon. In the meanwhile, thks again for the support! |
2018-12-23 08:57:48 -0600 | commented answer | Dnn forward result has rows = -1, colums = -1 Thanks for the reply. The image passed to the blob has in Java these characteristics resizedMat [ 479*700*CV_8UC3, isCon |
2018-12-23 06:49:38 -0600 | asked a question | Dnn forward result has rows = -1, colums = -1 Dnn forward result has rows = -1, size = -1 Hi there, I'm trying to translate this WORKING Python code for Neural Trans |