Open yogeshg opened 7 years ago
Need to add the following paths and import things differently to make this go somewhere.
see the diffs at: https://github.com/Sephora-M/chord2vec/compare/master...yogeshg:master
Hi Yogesh,
Tensor flow changed quite a bit. You'd probably need to either use a previous version of tensor flow or update the chord 2 vec code.
Best, Christian
On 14 Apr 2017, at 09:40, Yogesh Garg notifications@github.com wrote:
I can't seem to import this package, it depends on tensorflow.models.rnn.translate which doesn't seem to be a part standard tensorflow, what is required to make this work?
In [5]: import chord2vec
ImportError Traceback (most recent call last)
in () ----> 1 import chord2vec .../local/lib/python2.7/site-packages/chord2vec/__init__.py in () ----> 1 from seq2seq_model import Seq2SeqModel 2 from seq2seqs_model import Seq2SeqsModel .../local/lib/python2.7/site-packages/chord2vec/seq2seq_model.py in () 26 import tensorflow as tf 27 ---> 28 from tensorflow.models.rnn.translate import data_utils 29 30 ImportError: No module named models.rnn.translate — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
thanks for the update, @waldevski, I agree. Is there a tf version that you know works?
I'm afraid I'm not sure, and I doubt Sephora knows either. Try picking the tf version from near or slightly before the first commits to the chord2vec repository.
This is research code, ymmv.
On 17 April 2017 at 22:48, Yogesh Garg notifications@github.com wrote:
thanks for the update, @waldevski https://github.com/waldevski, I agree. Is there a tf version that you know works?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Sephora-M/chord2vec/issues/1#issuecomment-294479897, or mute the thread https://github.com/notifications/unsubscribe-auth/ADkZpsjtQeJ9P-PgXtMIJ9pJ2FMAWYJfks5rw1-fgaJpZM4M9UeO .
Hi Yogesh,
I suggest you clone the TF models repo: https://github.com/tensorflow/models. The translate module is there.
I can't seem to import this package, it depends on tensorflow.models.rnn.translate which doesn't seem to be a part standard tensorflow, what is required to make this work?