carpedm20 / carpedm20/NTM-tensorflow
tensorflow 0.12.1 failed to run NTM
- Dominant language
- Jupyter Notebook
- Stars
- 1k
- Forks
- 212
- PR merge metrics
- No merged PRs in 30d
Description
Below I show I have verified I have tensorflow 0.12.1, and the error trying to run the copy task.
```
VSs-MacBook-Pro-5:NTM-tensorflow dfreelan$ python3 -c 'import tensorflow as tf; print(tf.__version__)'
0.12.1
VSs-MacBook-Pro-5:NTM-tensorflow dfreelan$ python3 main.py --task copy --is_train True
Traceback (most recent call last):
File "main.py", line 6, in
from ntm import NTM
File "/Users/dfreelan/dev/NTM-tensorflow/ntm.py", line 8, in
from tensorflow.contrib.legacy_seq2seq import sequence_loss
ImportError: No module named 'tensorflow.contrib.legacy_seq2seq'
```
Any help trying to resolve this issue would be appreciated!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the import in ntm.py and the invocation in main.py: python3 main.py --task copy --is_train True. Check how TensorFlow 0.12.1 exposes sequence_loss and identify what is needed for the copy task to start without the reported ImportError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, tensorflow
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100