Skip to content
temberature edited this page Jan 4, 2018 · 4 revisions

利用 TensorFlow 实现机器翻译

https://www.dengxiangxing.com/post/50831

python -m nmt.nmt \ --out_dir=/tmp/nmt_model \ --inference_input_file=/tmp/test.vi \ --inference_output_file=/tmp/nmt_model/output_infer

cat /tmp/nmt_model/output_infer # To view the inference as output

Why plt.imshow() doesn't display the image?

https://stackoverflow.com/questions/42812230/why-plt-imshow-doesnt-display-the-image

adding plt.show() at the end of the code snippet:

ValueError: ‘The specified size contains a dimension with value <= 0’的解决方法

http://blog.csdn.net/johinieli/article/details/67712711

Python is not installed as a framework

https://stackoverflow.com/questions/21784641/installation-issue-with-matplotlib-python

Create a file ~/.matplotlib/matplotlibrc there and add the following code: backend: TkAgg