lyl8213/Plate_Recognition-LPRnet

can the label_len be any length ?

Opened this issue · 5 comments

I see before train model i should set the label_len = 7 #the length of plate character, but i dot see where use this label_len

Technically I think it is possible to ignore the fixed label length if you remove
#93 self.labels = np.float32(self.labels)
and change the
#100 self._labels = self.labels[perm]
to something like
self._labels = [self.labels[i] for i in perm]

There may be the need for other fixes in the model.

Excuse me, why remove self.labels = np.float32(self.labels)? @lmmaia

@linzhi123 np.float32 it will only work with elements with the same length.

thank you very much

@linzhi123hi哥们,你那个车牌识别能交流下吗