Transfer-Learning icon indicating copy to clipboard operation
Transfer-Learning copied to clipboard

Issue while loading labels

Open mazatov opened this issue 7 years ago • 1 comments

When loading labels I get an error when calling set(labels)

TypeError Traceback (most recent call last) in () ----> 1 set(labels)

TypeError: unhashable type: 'list'

Same when I use LabelBinarizer(). It seems to not like the data type of labels.

mazatov avatar Jun 04 '18 21:06 mazatov

Which file you are running? set(labels) is used for finding unique labels

jianguoz avatar Jun 27 '18 09:06 jianguoz