Traceback (most recent call last):


 "teacher.py", line 407, in <module>

training_history = train(config, vox, d, predictor, label_out)


 "teacher.py", line 258, in train

wandb.log({'ROC': wandb.plots.ROC(y, y_preds, lb)})


 "/home/mpds/miniconda3/envs/docktdeep/lib/python3.7/site-packages/wandb/plots/roc.py", line 71, in roc

return roc_table(fpr_dict, tpr_dict, classes, indices_to_plot)


 "/home/mpds/miniconda3/envs/docktdeep/lib/python3.7/site-packages/wandb/plots/roc.py", line 50, in roc_table

fpr_dict[i], tpr_dict[i], _ = roc_curve(y_true, probas[:, i],
IndexError: too many indices for array

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/Users/user/.pyenv/versions/venv/lib/python3.7/site-packages/soynlp/noun/_noun_ver2.py", line 143, in train_extract

self.train(inputs, min_eojeol_frequency)


 "/Users/user/.pyenv/versions/venv/lib/python3.7/site-packages/soynlp/noun/_noun_ver2.py", line 153, in train

self._train_with_sentences(inputs, min_eojeol_frequency)


 "/Users/user/.pyenv/versions/venv/lib/python3.7/site-packages/soynlp/noun/_noun_ver2.py", line 170, in _train_with_sentences

preprocess = preprocess


 "/Users/user/.pyenv/versions/venv/lib/python3.7/site-packages/soynlp/utils/utils.py", line 183, in __init__

self._counter = self._counting_from_sents(sents)


 "/Users/user/.pyenv/versions/venv/lib/python3.7/site-packages/soynlp/utils/utils.py", line 223, in _counting_from_sents

len(_counter), i_sent + 1, '%.3f'%get_process_memory(), ' '*20), flush=True)
UnboundLocalError: local variable 'i_sent' referenced before assignment
