Commit 8693be50 authored by Oleg Dzhimiev's avatar Oleg Dzhimiev


parent 8301c953
......@@ -143,7 +143,7 @@ with tf.Session() as sess:
print("Model restore: using conventionally saved model, but saving Saved Model for the next run")
meta_graph_source = files["inference"]+'.meta'
# remove 'exportdir' even it exsits and has anything
shutil.rmtree(dirs['exportdir'], ignore_errors=True)
builder = tf.saved_model.builder.SavedModelBuilder(dirs['exportdir'])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment