wangz10 / tensorflow-playground

Implementations of some Deep Learning models using tensorflow with scikit-learn like APIs
MIT License
80 stars 34 forks source link

Run doc2vec raise errors #6

Open thucnt opened 7 years ago

thucnt commented 7 years ago

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

darwinlc commented 6 years ago

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