-
Notifications
You must be signed in to change notification settings - Fork 786
Closed
Description
如下
(base) MBP:cnn_captcha-master jamin$ python3 train_model.py
Traceback (most recent call last):
File "train_model.py", line 275, in
main()
File "train_model.py", line 269, in main
image_suffix, train_batch_size, test_batch_size, verify=False)
File "train_model.py", line 60, in init
super(TrainModel, self).init(image_height, image_width, len(label), char_set, model_save_dir)
File "/Users/jamin/PycharmProjects/finance/cnn_captcha-master/cnnlib/network.py", line 22, in init
self.X = tf.placeholder(tf.float32, [None, self.image_height * self.image_width]) # 特征向量
AttributeError: module 'tensorflow' has no attribute 'placeholder'
Metadata
Metadata
Assignees
Labels
No labels