7-1还有个错误Nearest to not: often, they, usually, considered, it, argo, be, always,Nearest to into: through, from, on, with, in, sdi, paleocene, out,Nearest to th: six, eight, nine, courting, zero, cyg, ls, five,Nearest to that: which, however, this, but, michelob, callithrix, dasyprocta, abakan,Nearest to eight: seven, nine, six, five, four, three, zero, dasyprocta,Intel MKL FATAL ERROR: Cannot load libmkl_mc3.so or libmkl_def.so.
请问7-1的报错了,是什么原因?Traceback (most recent call last): File “/home/leonard/0-computaciones/espacio/ai/tf/tensoflow-in-pratice/code/71_Word2Vec.py”, line 42, in <module> filename = maybe_download(‘text8.zip’, 31344016) File “/home/leonard/0-computaciones/espacio/ai/tf/tensoflow-in-pratice/code/7_1_Word2Vec.py”, line 32, in maybe_download filename, = urllib.request.urlretrieve(url + filename, filename)AttributeError: module ‘urllib’ has no attribute ‘request’
读者您好,您的问题我已经反馈作者,作者回复“从您的报错看,是您的Python版本不对,请您检查。”
@郑柳洁 我也遇到了同样的问题 我的python版本是:Python 2.7.13
一个可行的解决办法是去http://mattmahoney.net/dc/text8.zip上下载text8.zip文件 放在7_1_Word2Vec.py的同级目录下即可运行
@sniperZhao ,我个人记得,TF1.0正式版支持Python3.5以上版本吧?低于这个版本支持吗?请查阅网上资料。
下载的代码乱码,估计你是苹果电脑,你看不出来, 你可以找一台windows机器试试:
用windows平台“Notepad++”打开的效果:
用windows平台“记事本”打开的效果:
第六章的ResNet实现的代码中,def conv2d_same 。其中的补零操作是为什么。P148
书中的第一部分的代码是不是有问题
读者朋友,请问你是在实际操作中遇到了问题吗?如果是可以将问题描述出来,可以将具体情况发送到faq@phei.com.cn邮箱。
您指的问题是?
7-1还有个错误
Nearest to not: often, they, usually, considered, it, argo, be, always,
Nearest to into: through, from, on, with, in, sdi, paleocene, out,
Nearest to th: six, eight, nine, courting, zero, cyg, ls, five,
Nearest to that: which, however, this, but, michelob, callithrix, dasyprocta, abakan,
Nearest to eight: seven, nine, six, five, four, three, zero, dasyprocta,
Intel MKL FATAL ERROR: Cannot load libmkl_mc3.so or libmkl_def.so.
请问7-1的报错了,是什么原因?
Traceback (most recent call last):
File “/home/leonard/0-computaciones/espacio/ai/tf/tensoflow-in-pratice/code/71_Word2Vec.py”, line 42, in <module>
filename = maybe_download(‘text8.zip’, 31344016)
File “/home/leonard/0-computaciones/espacio/ai/tf/tensoflow-in-pratice/code/7_1_Word2Vec.py”, line 32, in maybe_download
filename, = urllib.request.urlretrieve(url + filename, filename)
AttributeError: module ‘urllib’ has no attribute ‘request’
下载的代码乱码,估计你是苹果电脑,你看不出来, 你可以找一台windows机器试试:
用windows平台“Notepad++”打开的效果:

用windows平台“记事本”打开的效果:

第六章的ResNet实现的代码中,def conv2d_same 。其中的补零操作是为什么。P148
书中的第一部分的代码是不是有问题