Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6490 Discussions

Error during compile tensorflow model to NCS

idata
Employee
889 Views

Hi to everyone, i have my neural network built in keras library that i converted to tensorflow model, and then i used the mvNCCompile to use it on the Movidius but i got an errore. Can you please explain me what is wrong? Thanks!

 

This is the code that i used to convert the keras model to tensorflow

 

model_file = "/home/ciao/Scrivania/model.json" weights_file = "/home/ciao/Scrivania/weights.h5" with open(model_file, "r") as file: config = file.read() K.set_learning_phase(0) model = model_from_json(config) model.load_weights(weights_file) saver = tf.train.Saver() sess = K.get_session() saver.save(sess, "/home/ciao/Scrivania/TF_Model/tf_model") fw = tf.summary.FileWriter('logs', sess.graph) fw.close()

 

Then the error:

0 Kudos
4 Replies
idata
Employee
569 Views

is it an SSD model?

 

you might be missing the config file

 

https://ncsforum.movidius.com/discussion/1588/ncsdk-2-10-option-tf-ssd-config

0 Kudos
idata
Employee
569 Views

@robert_osmosis i worked on keras with a xception architecture, i dont have this config file how can i get it? (sorry but i'm learning on these things)

0 Kudos
idata
Employee
569 Views

that architecture might not be supported with movidius

 

https://movidius.github.io/ncsdk/release_notes.html#network-notes

0 Kudos
idata
Employee
569 Views

@robert_osmosis ok, thank you

0 Kudos
Reply