Spaces:
Runtime error
Runtime error
ajitrajasekharan
commited on
Commit
•
d998f26
1
Parent(s):
f02a176
Update aggregate_server_json.py
Browse files- aggregate_server_json.py +0 -1
aggregate_server_json.py
CHANGED
@@ -292,7 +292,6 @@ class AggregateNER:
|
|
292 |
return flip_category(results[server_index]["ner"][run_index])
|
293 |
else:
|
294 |
#here cs and ci are same. So use two consecutive cs predictions if meaningful
|
295 |
-
print("***** here 2")
|
296 |
if (len(results[server_index]["orig_cs_prediction_details"][pivot_index]['cs_distribution']) >= 2):
|
297 |
ret_arr = self.get_predictions_above_threshold(results[server_index]["orig_cs_prediction_details"][pivot_index])
|
298 |
print("orig cs:",results[server_index]["orig_cs_prediction_details"][pivot_index]['cs_distribution'])
|
|
|
292 |
return flip_category(results[server_index]["ner"][run_index])
|
293 |
else:
|
294 |
#here cs and ci are same. So use two consecutive cs predictions if meaningful
|
|
|
295 |
if (len(results[server_index]["orig_cs_prediction_details"][pivot_index]['cs_distribution']) >= 2):
|
296 |
ret_arr = self.get_predictions_above_threshold(results[server_index]["orig_cs_prediction_details"][pivot_index])
|
297 |
print("orig cs:",results[server_index]["orig_cs_prediction_details"][pivot_index]['cs_distribution'])
|