- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The MTCNN P-net will change input size several times, but the OpenVINO model didn't accept different input size in early release.
In R3 version, I see some posts said that we should change input shape before load into plugin like this:
net = IENetwork.from_ir(model=path_to_the_xml, weights=path_to_the_bin) input_layer = next(iter(net.inputs)) n, c, h, w = net.inputs[input_layer] net.reshape({input_layer: (n, c, h*2, w*2)}]
But if it does this every time, it should spend much time.
Is there another way to to this?
Thanks.
David
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
One way to solve this is to create multiple networks with different size. AFAIK MTCNN has about 6 different scales, that would mean about 6 networks.
/Yury
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
One way to solve this is to create multiple networks with different size. AFAIK MTCNN has about 6 different scales, that would mean about 6 networks.
/Yury
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