Update utils/target_classifier.py
Browse files
utils/target_classifier.py
CHANGED
@@ -23,7 +23,7 @@ def get_target_labels(preds):
|
|
23 |
"""
|
24 |
|
25 |
# Turn into list
|
26 |
-
preds_list =
|
27 |
|
28 |
# Get label names
|
29 |
predictions_names=[]
|
|
|
23 |
"""
|
24 |
|
25 |
# Turn into list
|
26 |
+
preds_list = preds.to_list()
|
27 |
|
28 |
# Get label names
|
29 |
predictions_names=[]
|