Skip to content
Snippets Groups Projects
Commit 9081643b authored by Hammouda Elbez's avatar Hammouda Elbez :computer:
Browse files

Code improved

parent 86d2a272
Branches
No related tags found
No related merge requests found
......@@ -78,11 +78,15 @@ class spark(sparkOp):
try:
data = next(col, None)
self.g.Accuracy = data["Acc"]
self.g.finalLabels = data["NLabel"]
except Exception as e:
self.g.Accuracy = "--"
print("No accuracy recorded")
pass
try:
self.g.finalLabels = data["NLabel"]
except Exception as e:
print("No output neuron classes recorded")
self.g.finalLabels = None
pass
......
......@@ -67,4 +67,4 @@ class spark(sparkOp):
except Exception as e:
print("Error:" + str(e))
traceback.print_exc()
pass
pass
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment