fix accuracy mode
@@ -220,8 +220,6 @@ class model_infer:
def accuracy_check(self, input_graph=None):
print("Inference for accuracy check.")
-
- if input_graph:
graph_def = get_graph_def(self.args.input_graph, self.output_layers)
input_graph = tf.Graph()
with input_graph.as_default():
