def train(self, datadict, labels):
'''
Trains the GMM Model with supervised codebooks
and soft quantization
'''
super(BoFModelSuper, self).train(datadict, labels, rand_features=True)
self.featuresize = self.vocab_size
return
评论列表
文章目录