-
Notifications
You must be signed in to change notification settings - Fork 5
20180104
temberature edited this page Jan 4, 2018
·
4 revisions
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
https://stackoverflow.com/questions/42812230/why-plt-imshow-doesnt-display-the-image
adding plt.show()
at the end of the code snippet:
http://blog.csdn.net/johinieli/article/details/67712711
https://stackoverflow.com/questions/21784641/installation-issue-with-matplotlib-python
Create a file ~/.matplotlib/matplotlibrc there and add the following code: backend: TkAgg