MaybeShewill-CV / CRNN_Tensorflow

Convolutional Recurrent Neural Networks(CRNN) for Scene Text Recognition
MIT License
1.03k stars 388 forks source link

problems of making tfrecord format #113

Closed ccnankai closed 6 years ago

ccnankai commented 6 years ago

xx 请问我哪里弄错了?

MaybeShewill-CV commented 6 years ago

@ccnankai 参数写错了吧

ccnankai commented 6 years ago

@MaybeShewill-CV 没写错啊 就--dataset_dir 和 --save_dir (生成tfrecords和训练)请问是用主分支 还是chinese分支啊?

ccnankai commented 6 years ago

python tools/write_text_features.py --dataset_dir onerow/ --save_dir tfrecords_dir

MaybeShewill-CV commented 6 years ago

@ccnankai 主分支

ccnankai commented 6 years ago

Traceback (most recent call last): File "tools/write_text_features.py", line 101, in write_features(dataset_dir=args.dataset_dir, save_dir=args.save_dir) File "tools/write_text_features.py", line 50, in write_features normalization=None) File "/home/yanfa/songwendong/ocr/recognition/CRNN_Tensorflow-master/data_provider/data_provider.py", line 172, in init shuffle=shuffle, normalization=normalization) File "/home/yanfa/songwendong/ocr/recognition/CRNN_Tensorflow-master/data_provider/data_provider.py", line 56, in init self._epoch_imagenames, self._epoch_labels = self.shuffle_images_labels(self._epoch_imagenames,self._epoch_labels) TypeError: shuffle_images_labels() missing 1 required positional argument: 'imagenames' @MaybeShewill-CV 一直这个错误,疯了,我自己找找吧 。多谢多谢。

MaybeShewill-CV commented 6 years ago

@ccnankai .......主分支三个参数, chinese两个参数 你可以仔细看一下啊==! 你用主分支需要三个参数啊,函数参数不对啊==!

ccnankai commented 6 years ago

@MaybeShewill-CV

知道了,多谢多谢