tf-seq2seq icon indicating copy to clipboard operation
tf-seq2seq copied to clipboard

unsupported operand type(s) for -: 'float' and 'Flag'

Open jigyasa06 opened this issue 7 years ago • 5 comments

screen shot 2018-05-27 at 19 55 49

jigyasa06 avatar May 27 '18 17:05 jigyasa06

can you please tell me why is this issue arrising.? this error is coming when i am running your train.py file thankyou

@JayParks please if you can help , i am really understanding your code so well that i really want to implement this . I will be very thankful to you if you can help or guide.

jigyasa06 avatar May 27 '18 17:05 jigyasa06

when i am running train.py file, it is giving me the output like' sequence is less than 50'. can u please tell why it is taking as my input and output none ?

jigyasa06 avatar May 28 '18 07:05 jigyasa06

@Germey can you please have a look and suggest me something?

jigyasa06 avatar May 29 '18 14:05 jigyasa06

maybe you can change

config = OrderedDict(sorted(FLAGS.__flags.items()))

to

config = FLAGS.flag_values_dict()

It works fine for TensorFlow 1.5+

Germey avatar May 30 '18 12:05 Germey

it is giving me this error KeyError: 'attention_weights_11/Exp'

shaival2905 avatar Jul 04 '18 12:07 shaival2905