jianguoz / Transfer-Learning

We use pretrained networks VGGnet, AlexNet, GoogLeNet, ResNet which trained on the ImageNet dataset as a feature extractor to classify images.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue while loading labels

mazatov opened this issue · 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.

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