Problem with not founding layers YOLO neural networks

asked 2020-02-12 06:47:29 -0600

Jacob Escobar gravatar image

updated 2020-02-12 07:05:32 -0600

berak gravatar image

Hi , I have quite similar problem like there: I have an error with

OpenCV(3.4.5) Error: Requested object was not found (Layer with requested id=-1 not found) in cv::dnn::experimental_dnn_34_v11::LayerData& cv::dnn::experimental_dnn_34_v11::Net::Impl::getLayerData(int), file /build/3_4_pack-android/opencv/modules/dnn/src/dnn.cpp,

I"m doing my project on Android Studio for Android with this tutorial I think that can be problem with deprecated function to load file Environment.getExternalStorageDirectory. Any other ideas? I hope somebody answer me fast :)

edit retag flag offensive close merge delete



please update to opencv 3.4.9 and come back if there is still an issue

LBerger gravatar imageLBerger ( 2020-02-12 07:05:55 -0600 )edit

which yolo, exactly ?

can you show the resp. part of code, where you try to load it

berak gravatar imageberak ( 2020-02-12 07:08:58 -0600 )edit

To @berak - My MainActivity file: To @LBerger - With 3.4.7 was the same problem, still I need to update?

Jacob Escobar gravatar imageJacob Escobar ( 2020-02-12 07:44:41 -0600 )edit

@LBerger After updating OpenCV to 3.4.9 application still is not working. But error in debuger is a little different, error messages to compare:

Jacob Escobar gravatar imageJacob Escobar ( 2020-02-20 10:05:06 -0600 )edit