hi, when my program run into
def train(gmm,features):
X = np.concatenate(features.values())
Y = np.concatenate([np.float32([i]*len(v)) for i,v in zip(range(0, len(features)), features.values())])
clf = svm.SVC()
clf.fit(X,Y)
return clf
report the error :
in train
X = np.concatenate(features.values())
TypeError: The first input argument needs to be a sequence
can you help me resolve this? Thanks