run my model with the object-detector-python #167
-
|
I am trying to run the object-detector-python example with my model to detect specific objects There is a major difference between the models in terms of input size. The example MPDEL received input of 300x3003 while my model received input of 640x6403 I got the following error when I tried to run it: Could not run job: Could only read 1228800 out of 4915200 bytes from file descriptor How can I change the maximum number of bytes that can be read? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Hi @MenahemOwlytics |
Beta Was this translation helpful? Give feedback.
I made a mistake before, the error is actually telling you that you are only providing one quarter of the amount of bytes needed by the model.
Try to remove the line:
image = image.astype(np.uint8)However, I am not sure if this model can run on DLPU, it should work only with int8 models, but maybe it is still worth to try.