在第一次试运行中,遇到了许多的问题,总结一下,以便未来遇到时能够快速解决。
Generate the skip thought vectors 时:
1.ImportError: No module named 'theano'
解决办法:pip install Theano
Generate the Images for the thought vectors时:
1.No module named 'h5py'
解决办法:pip install h5py
2.SyntaxError: invalid syntax
未将Python2的代码完全替换为Python3的代码,重新替换即可
3.ImportError: No module named 'skimage'
解决办法:pip install scikit-image
4.ImportError: No module named 'matplotlib'
解决办法:https://ask.youkuaiyun.com/questions/372790
conda install matplotlib
这个是毕设做的,已经毕业很久了,突然看到当时做的这些,发现基本都是包没有下的缘故。这些问题可以在运行中就可以解决。
还是决定发出来,就当记录一下毕设,虽然也只是记录有一小部分的问题。