You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DNN, readNetFromTensorflow, assertion fails on addConstNodes #14224
@dkurt I'm using TF version 1.13.
I only tested frozen_model.pb using TF.
frozen_inference_graph_opt.pb was generated for opencv. so I didn't test using TF
Activity
dkurt commentedon Apr 2, 2019
The problem is in
Switchnodes. Looks like TensorFlow tools cannot remove it despite their inputs arefalseboolean constants.similar problem but with different subgraph: #14073
dkurt commentedon Apr 2, 2019
@sangjoonhong, There is a workaround:
However we'll try to propose a PR to fix it.
sangjoonhong commentedon Apr 3, 2019
@dkurt Thank you!! It works well.
dkurt commentedon Apr 3, 2019
@sangjoonhong, BTW, can you run
frozen_inference_graph_opt.pbusing TensorFlow? I got the following error with TF 1.12.0:Which TensorFlow version do you use?
sangjoonhong commentedon Apr 4, 2019
@dkurt I'm using TF version 1.13.
I only tested frozen_model.pb using TF.
frozen_inference_graph_opt.pb was generated for opencv. so I didn't test using TF
dkurt commentedon Apr 4, 2019
@sangjoonhong, This PR now handles this workaround: #14251