New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems in tensorflow 1.2.0 #3
Comments
Hi Tiyashima,
The code needs some modifications to be able to run on tf 1.2. I have already done most of them but they need some testing before push. Feel free to try and do it yourself.
Olof
…--
Phone: +46-703-969624
Web: http://mogren.one/
Email: mogren@chalmers.se, olof@mogren.one
-------- Ursprungligt meddelande --------
Ämne: [olofmogren/c-rnn-gan] Problems in tensorflow 1.2.0 (#3)
Från: tyashima <notifications@github.com>
Till: olofmogren/c-rnn-gan <c-rnn-gan@noreply.github.com>
Kopia: Subscribed <subscribed@noreply.github.com>
Hi, I'd like to run your rnn_gan.py, but probably because I'm using the latest version of tensorflow,
I have a problem. The script doesn't work.
I modified several lines because in tensorflow 1.2.0 they change the ordering, notation, and so on.
Also, since we don't have `tf.nn.bidirectional_rnn` in tensorflow 1.2.0, I tried other bidirectional rnn.
Then I got some errors, (mostly ValueErrors, rank incorrespondence, different input shape, etc...)
I'm using Ubuntu 14.04 with GeForce GTX TITAN X (12GB).
Is it because of the different version of tensorflow? or Am I missing some points?
Also, could you tell me which version of tensorflow you're using?
Thanks.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#3
|
Thank you for your reply. As I said before, I modified the script and I thought it would work, but somehow I got an error. When I type this I got this error (and some outputs for your reference).
Did you encounter this sort of errors before? |
Same errors for me too. Really interested for any pointers adapting your code to tf 1.2. |
Same problem here |
same problem here.anyone have any fixes? |
I changed |
Please create a pull request, @RFirstman! |
@RFirstman could you share your fixes? |
My fixes were only band-aid solutions, unfortunately. I was unable to get it to work following my above advice. However, I did find a fork that does fix the issues and uses TensorFlow 1.4. https://github.com/dhruvsharma1992/Music-generation-cRNN-GAN |
Ok cool! I will try it! Thank you so much! |
I have now incorporated the changes made by Dhruv Sharma into the original repo. It now runs and trains on TF 1.x. |
Hi, I'd like to run your rnn_gan.py, but probably because I'm using the latest version of tensorflow,
I have a problem. The script doesn't work.
I modified several lines because in tensorflow 1.2.0 they change the ordering, notation, and so on.
Also, since we don't have
tf.nn.bidirectional_rnn
in tensorflow 1.2.0, I tried other bidirectional rnn.Then I got some errors, (mostly ValueErrors, rank incorrespondence, different input shape, etc...)
I'm using Ubuntu 14.04 with GeForce GTX TITAN X (12GB).
Is it because of the different version of tensorflow? or Am I missing some points?
Also, could you tell me which version of tensorflow you're using?
Thanks.
The text was updated successfully, but these errors were encountered: