- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'd like to use the Gaze Estimation Adas 0002 pre-trained model found here:
It takes three inputs, the left eye (1,3,60,60), right eye (1,3,60,60), and an angle vector (1,3). All of which are named parameters for the input.
However, when I try to feed these inputs to my model via:
inp_dict={'left_eye_image': inps[0], 'right_eye_image': inps[1], 'head_pose_angles': inps[2]} input_dict={self._input_blob: inp_dict} results = self._net.infer(input_dict)
OpenVINO inference barfs with it wants a float instead of a dict for the input blob. I have tried dumping the layers, iterating over input_blob (found by using next(iter(self.model.inputs)) etc.) to no avail.
How does one specify names inputs in the OpenVINO API?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Note that if I use inp_dict I get:
AssertionError: No input with name left_eye_image found in network
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nevermind, you can close this. Wrong XML was being loaded.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page