raise TypeError("Cannot convert {} to a dtype. {}".format(type_value, e))
See original GitHub issuehi , so am using tensorflow1.0 on python 3.5.2 on windows ,ive successfully run “prepare-data.py” but when am running “train-autoencoder.py” i get the following error
raise TypeError("Cannot convert {} to a dtype. {}".format(type_value, e))
TypeError: Cannot convert (19528,) to a dtype. data type not understood
i think its because of the initializer so i changed “initializer = tf.zeros_initializer((self.vocab_size,))” to “initializer = tf.zeros_initializer” and It worked but i get another error when it tries to use the “projection_b” variable , seems like we have to specify the shape of it “Shape of a new variable (autoencoder/projection_b) must be fully defined, but instead was <unknown>.” i dont know how to fix this one ,i really appreciate it if anyone could help me , thanks
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (3 by maintainers)
Top GitHub Comments
I’ve rewritten a good deal of the code and it runs fine on tensorflow 1.7.
Mostly yes, because of tensorflow. I stopped working with autoencoders but plan to take it again in the next week or so.
Em dom, 8 de abr de 2018 15:43, Nic McPhee notifications@github.com escreveu: