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: