使用Keras进行多标签回归

时间:2018-07-26 08:41:21

标签: machine-learning keras regression multilabel-classification

我正在尝试使用keras构建图像回归模型。该模型将为每个图像预测两个值。

我成功地训练了模型以预测一个值。如何将其他标签输入模型。

Traceback (most recent call last):
  File "test_stop.py", line 10, in <module>
new_stopwords_list = set(stop_words.extend(new_stopwords))
AttributeError: 'set' object has no attribute 'extend'

我想为每个图像提供两个整数标签

谢谢

0 个答案:

没有答案