Error in using R-CNN Network to detect an object.

1 view (last 30 days)
I am working with R-CNN to identify an arrow. It works with one R-CNN network and when i try to run the same code with another R-CNN trained network it shows the following error.
Error.PNG
In the following picture shows the i code i am using.
Function capture image.JPG
In the code, in the detect function if i use "rcnnArrow" , a R-CNN trained Network, there is no error. But if i use "rcnndifferentarrows1" another trained R-CNN network, it shows the error in the first picture. In the figure below shows the two variables in the workspace.
trained rcnn.JPG
How can i rectify this problem?
  3 Comments
Philip Kanjirathingal Kurian
  1. No, i cant attach the rcnndifferentarrows1 detector, because its a huge file to attach here.
  2. The erroe which appears when i run the program has been pasted in the question. Thats the whole part of the error. There are no other errors displayed.
Ajay Pattassery
Ajay Pattassery on 4 Nov 2019
can you put a break point on the following line
[Bbox, Score, Labels]= detect(rcnndifferentarrows1, image)
and paste the output of
which detect
whos image
disp(rcnndifferentarrows1)

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!