Community
cancel
Showing results for 
Search instead for 
Did you mean: 
idata
Community Manager
403 Views

Error during compile tensorflow model to NCS

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:

Tags (1)
0 Kudos
4 Replies
idata
Community Manager
83 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

idata
Community Manager
83 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)

idata
Community Manager
83 Views

that architecture might not be supported with movidius

 

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

idata
Community Manager
83 Views

@robert_osmosis ok, thank you

Reply