-
Notifications
You must be signed in to change notification settings - Fork 369
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
[NeuralNetwork(7)] [error] Input tensor 'data' (0) exceeds available data range. Data size (3600B), tensor offset (0), size (10800B) - skipping inference #426
Comments
Hi @vipulkumar-developer , |
Yes, it is exactly what I'm trying to do but in the script file for the Script node. I'm working with the Script node since I'm changing an existent repository. |
@vipulkumar-developer I see, could you prepare a full MRE, please? |
@vipulkumar-developer please see the documentation on how to prepare a MRE. |
My objective is to use the repository gen2-face-recognition but working with black and white frames, not RGB. In the main.py file I've modified the pipeline by inserting the MonoCamera and in some components adding initialConfig.setFrameType(dai.RawImgFrame.Type.RGB888p):
While in the scriptcopy.py file I've added initialConfig.setFrameType(dai.RawImgFrame.Type.RGB888p) in the following piece of code:
The blob NN models used are the same of the original repo. When I start the script I obtain this error: I suppose that is related to some ImageManipNode that resizes the frame to 60x60 (3600), but it expects an RGB frame since 3600 * 3 = 10800 |
@vipulkumar-developer please see again the MRE tutorialm, and provide everything in single zip file, and reduce the script - headpose estimation has nothing to to with the issue you are having. |
Here is the zip |
Hi, I'm trying yo manipulate a black and white frame obtained from the Right Monocamera using the Script node.
In the script file I try these lines of code:
But the problem is that the pipeline seems to ignore it since the resulting error is the following:
[14442C10310D57D700] [483.907] [NeuralNetwork(7)] [error] Input tensor 'data' (0) exceeds available data range. Data size (3600B), tensor offset (0), size (10800B) - skipping inference
The text was updated successfully, but these errors were encountered: