Open HangJie720 opened 4 years ago
From the error log description, it seems that there is a problem with the reshape operator support in opencl mode.I use the shape params [1,-1,4] and [1,-1,2]. I have not tested the code in opencl mode. I think mobilenet.mnn can work because it doesn't have reshape operator. Maybe you can go to MNN's issue to find the answer and I will test it when I have time.
Thank you very much, I have released the issue on MNN's issue, waiting their response. UltraFace On ARM GPU Issue If you have time, could you help me test your model based MNN supported on arm gpu with opencl. you can compile MNN source code as follows,
add_executable(UltraFace.out, main.cpp, UltraFace.cpp, UltraFace.hpp)
target_link_libraries(UltraFace.out MNN $(OpenCV_LIBS))
target_link_libraries(UltraFace.out $(MNN_DEPEND))
cmake .. -DMNN_BUILD_DEMO=ON -DMNN_BUILD_CONVERTER=true -DOpenCL_INCLUDE_DIR=/usr/include/aarch64-linux-gnu/ && make -j6
./UltraFace.out slim-320-quant-ADMM-50.mnn imgs/1.jpg
Thank you very much !!
Hello, I want to put it to MNN source code /MNN/demo/exec directory to run with arm v8 GPU(RK3399), opencl included. However, when executing the following command,
error information is shown as follows,
I define config.type = MNN_FORWARD_CPU in UltraFace.cpp is OK, however config.type=MNN_FORWARD_OPENCL report error above; I want to know If this model is not supported on arm GPU, mobilenet.mnn is runned on arm gpu with opencl is ok, claiming the opencl is compiled successfully, but running your model slim-320.mnn is error, print information as above, and then no face box are show on result.