Ask Your Question
0

Load and run Keras model using opencv DNN module

asked 2018-11-01 05:15:29 -0600

Anil Patel gravatar image

updated 2018-11-01 05:21:06 -0600

berak gravatar image

Hi All,

I have made keras model "model.h5" using tensorflow as backend. Can anyone let me know, how I can load and run this model using opencv DNN modules?

Thanks, --Anil

edit retag flag offensive close merge delete

Comments

@berak,

I don't know how to convert it. I never did that before.

Anil Patel gravatar imageAnil Patel ( 2018-11-01 05:27:35 -0600 )edit

neither did i ;(

(it's also quite off-topic here)

berak gravatar imageberak ( 2018-11-01 05:31:18 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
2

answered 2018-11-01 05:24:34 -0600

berak gravatar image

updated 2018-11-01 05:30:37 -0600

there is no support for .h5 in the dnn module

you will have to convert it to a pb model

edit flag offensive delete link more

Comments

1

Thank you berak for quick support.

Anil Patel gravatar imageAnil Patel ( 2018-11-01 05:34:48 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2018-11-01 05:15:29 -0600

Seen: 10,769 times

Last updated: Nov 01 '18