array(2) { ["docs"]=> array(0) { } ["count"]=> int(0) } 111string(0) "" int(1) int(10) int(70) int(8640000) string(13) "likecs_art_db" array(1) { ["query"]=> array(1) { ["match_all"]=> object(stdClass)#31 (0) { } } } array(1) { ["createtime.keyword"]=> array(1) { ["order"]=> string(4) "desc" } } int(10) int(0) int(8640000) array(2) { ["docs"]=> array(0) { } ["count"]=> int(0) } tensorflow died kernel - 爱码网

   在使用tensorflow的过程中有时候会遇到死核的问题:即是当import tensorflow 的时候会自动死核。

   我在网上没有找到确切的问题,最好的办法,就是利用anaconda 新建一个虚拟环境,从新安装tensorflow-gpu。

  比较详细的安装opencv的地址:https://yq.aliyun.com/articles/362290

   同时,我由于需要从新安装opencv :

              安装命令如下:pip install opencv-python

 

 ipython的交互式环境的使用:

   https://blog.csdn.net/oasis0312/article/details/77772371

  anaconda 对内核的管理可以自动添加内核,方便程序的书写。手动添加也可,命令添加也可。

    tensorflow died kernel

  对应文件夹的改变:

      

     tensorflow died kernel

      在命令行中打开jupyter时会看到:

  tensorflow died kernel

   change kernel 会出现上述的两个核,改变起来很方便。(由于截图能力有限,读者完成上述功能后自己可看到)

       

 

相关文章: