-
Notifications
You must be signed in to change notification settings - Fork 378
Description
1- I am getting the following error during training the model
python train.py --output-dir output --training-data data/rockyou-train.txt
File "train.py", line 97, in
real_inputs_discrete = tf.placeholder(tf.int32, shape=[args.batch_size, args.seq_length])
AttributeError: module 'tensorflow' has no attribute 'placeholder'
2- I am getting following error , while generating the password using the following command
python sample.py
--input-dir pretrained
--checkpoint pretrained/checkpoints/195000.ckpt
--output gen_passwords.txt
--batch-size 1024
--num-samples 1000000
Traceback (most recent call last):
File "sample.py", line 74, in
charmap = pickle.load(f)
UnicodeDecodeError: 'ascii' codec can't decode byte 0x83 in position 0: ordinal not in range(128)
Kindly help.