![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Tensorflow
文章平均质量分 61
LLM硬着陆
Deep Learning/Bigdata
展开
-
cv2安装的几个常见问题
# No module named 'cv2'pip install opencv-python# libSM.so.6: cannot open shared object file: No such file or directory# 使用apt-fileapt-get updateapt-get install apt-fileapt-file updateapt-file search libSM.so.6apt-get install libsm6# libXrender.s原创 2020-05-09 22:43:39 · 430 阅读 · 0 评论 -
ImportError: libSM.so.6: cannot open shared object file: No such file or directory
ImportError: libSM.so.6: cannot open shared object file: No such file or directory原文链接:https://blog.csdn.net/liuyingying0418/article/details/84580254在docker虚拟机下安装了opencv以后,在使用的时候出现以下报错,Traceback (...原创 2020-01-06 16:14:22 · 301 阅读 · 0 评论 -
[深度学习] [Tensorflow] Tensorflow 中计算 PSNR 峰值信噪比
峰值信噪比,Peak signal-to-noise ratio(PSNR)是测量有损压缩编/解码器的重建质量的重要指标,在图像处理领域很常见,因为在图像压缩处理过程中,常常会引入噪声,这些噪声就会影响图像重建质量,对于图像重建,较高的PSNR指标通常表明重建质量较高,图像失真越小。定义原图像与被处理图像之间的均方误差相对于(2n-1)2的对数值(信号最大值的平方,n是每个采样值的比特数,...原创 2018-11-12 22:08:50 · 6960 阅读 · 9 评论 -
[深度学习][CIFRA数据处理] Python 读取CIFRA-10数据集
CIFRA-10数据集结构以Python加载,每个批处理文件都包含一个字典,包含以下elements:data一个 10000x3072 的uint8s numpy数组。矩阵的每一行都存储一个32x32的彩色图像。前1024个条目包含红色通道值,下一个1024表示绿色,最后1024个表示蓝色。图像以行主顺序存储,因此数组的前32个条目是图像第一行的红色通道值。labels0-9...原创 2018-12-25 17:33:46 · 984 阅读 · 1 评论 -
[深度学习][CIFRA数据处理] CIFRA-10 与 CIFRA-100 数据集介绍
作为主流的分类数据集,这一篇主要讲 CIFRA-10 与 CIFRA-100 数据集下载与Python版本的处理数据集下载地址:http://www.cs.toronto.edu/~kriz/cifar.html数据介绍CIFAR-10和CIFAR-100是两组有8000万个微小图像数据组成的标记图片数据集。它们是由Alex Krizhevsky,Vinod Nair和Geoffrey ...原创 2018-12-20 22:52:26 · 1568 阅读 · 0 评论 -
[深度学习] tensorflow安装,遇到Illegal instruction问题
虚拟机,anaconda环境下,python 3.6.7安装tensorflow(非gpu版本)pip install tensorflow==1.12,后测试报错[root@lab-hdfs-gateway-0 ~]# python -c 'import tensorflow as tf; print(tf.__version__)'Illegal instruction解决办法...原创 2019-01-10 22:37:29 · 3336 阅读 · 0 评论 -
[深度学习] 利用Keras中训练好的VGG模型预测图片种类
利用Keras中训练好的VGG模型预测图片种类from keras.preprocessing import imagefrom keras.applications.imagenet_utils import preprocess_input, decode_predictionsfrom keras.applications.vgg16 import VGG16from keras.m...原创 2019-04-29 13:18:27 · 2980 阅读 · 0 评论