tensorflow-playground icon indicating copy to clipboard operation
tensorflow-playground copied to clipboard

Run doc2vec raise errors

Open thucnt opened this issue 7 years ago • 1 comments

I installed all in requirement.txt but when i run it raise this error: TypeError: Input 'y' of 'Mul' Op has type float32 that does not match type int32 of argument 'x'.

Please tell me how to solve it. Thanks

thucnt avatar Nov 22 '17 12:11 thucnt

some changes of parameter order in latest tensorflow, which I believe you are using.

  1. tf.concat, value and axis are in different order
  2. tf.nn.sampled_softmax_loss, 'input' and 'labels' are in different order.

Hope it helps

darwinlc avatar Feb 23 '18 08:02 darwinlc