自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 向泛型中添加元素

下面展示一些 内联代码片。// A code blockvar foo = 'bar'; public void preErgodic(){ Queue<Value> list=null;// list=preErgodic(head, list); for (Object i:list ) { System.out.println(i); }} public Que

2021-01-05 20:56:15 424

原创 高速下载tensorflow

使用清华开源镜像安装tensorflow安装tensorflow时,如果使用直接安装速度相对较慢,采取清华大学的镜像会提高速度。GPU版本安装方法:pip install tensorflow-gpu==2.2.0 -i https://pypi.tuna.tsinghua.edu.cn/simple或pip install tensorflow==2.2.0 -i https://pypi.tuna.tsinghua.edu.cn/simple...

2020-08-20 17:01:47 652

原创 Cannot interpret feed_dict key as Tensor:

记录:tensoflow改错TypeError: Cannot interpret feed_dict key as Tensor: Can not convert a float into a Te错误描述:TypeError: Cannot interpret feed_dict key as Tensor: Can not convert a float into a Tensor.改...

2020-03-23 15:07:35 837

原创 opencv安装问题

pip install opencv-python -i https://pypi.tuna.tsinghua.edu.cn/simple人生短暂无常,我用清华镜像

2020-03-16 11:12:12 119

原创 灰度图显示问题

为了实现训练数据可视化,最后需要显示图集与对应的标签,预处理对数据集进行大量操作,这是我们显示的图片不应该用处理后的图片进行显示,应该调用处理前的数据;...

2020-03-07 11:00:34 273

原创 ImportError: No module named input_data

输入from tensorflow.examples.tutorials.mnist import input_data不管用的话,把input_data复制到C:\Users\soang\Anaconda3\Lib\site-packages目录下就欧克了

2020-02-18 15:02:09 498

原创 tensorflow ImportError: DLL load failed: 找不到指定的模块。

我的版本是tensorflow2.0,貌似是与CUDA版本不匹配,cuda版本查找百度即可,网上教程有图关于版本对应https://img-blog.csdnimg.cn/20190409175133521.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZ...

2020-02-18 11:34:58 676

原创 ImportError : No Moduled Name "tensorflow

在python默认的第三方库安装路径中即…Anaconda3\Lib\site-packages,我的是C:\Users\song\Anaconda3\Lib\site-packages新建一个path.pth文件(直接新建一个记事本后缀是.pth就行),在里面写上tensorflow安装的位置(可利用pip show tensorflow找)参考链接:https://blog.csdn.n...

2020-02-18 09:52:24 98

原创 ImportError: Something is wrong with the numpy installation. While importing we detected an older v

尝试在tensorflow环境下pip uninstall numpy到none,未解决问题;于是尝试在base下pip uninstall numpy到none然后运行 import tensorflow as tf ,还是不行,但错误提示变了,变得很长,索性由在base下pip install numpy,然后就好了,如图终于没有错误了...

2020-02-18 09:38:59 373

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除