-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSD Object Detector Dual output #72
Comments
Hi @skalade thanks for the reply. Thanks!
|
Hi, since this does not seem like a DPU-PYNQ bug I'd recommend posting this on the pynq discuss forum or maybe as a more general vart question to the xilinx forums / Vitis AI github issues. I've not really worked with models like ssd before so can't give too much advice. But parsing your model looks like the 4th CPU subgraph corresponds to the box encodings that you can see on one of your outputs in that graph image you provided. So maybe you could grab those somehow, there should be some examples in the Vitis AI library. Hope this helps a bit... I'm going to close this issue because this isn't a core DPU-PYNQ problem. If you still have issues I encourage you to post on one of the forums! Thanks |
Hi @skalade thanks for the help! I'll give the forum a shot. |
Hello,
I've been trying to run the tf2_ssdincepion_v2 model using dpu-pynq on an Ultra96-V2 using a modified version of the dpu_tf_inceptionv1.ipynb file.
By using the defaults of
shapeOut = tuple(outputTensors[0].dims)
I was able to get an output array of shape (1,1917,91) which I assume is the confidence score for each box.If I access the second output tensor
shapeOut2 = tuple(outputTensors[1].dims)
it will give me a shape of (1,1917,4) which I assume will be the box locations.However while trying to run with the second set of outputensors, the following error will be thrown:
I am not sure how to proceed with doing the detection as from the graph generated using analyze_subgraphs.sh the subgraph has 2 outputs that require CPU processing to obtain the final result.
Any help will be appreciated. Thank you!
Graph Image
The text was updated successfully, but these errors were encountered: