随笔分类 - 机器学习
摘要:代码参考(https://blog.csdn.net/disiwei1012/article/details/79928679) import osimport sysimport randomimport mathimport numpy as npimport skimage.ioimport
阅读全文
摘要:1、安装Anaconda3 下载地址 Anaconda 官网下载地址:https://www.continuum.io/downloads 下载以后,点击exe程序,开始安装,详细的安装过程(图片参考:https://blog.csdn.net/u012318074/article/details/
阅读全文
摘要:import osimport tensorflow as tfimport numpy as npimport re from PIL import Imageimport matplotlib.pyplot as plt print("hello") class NodeLookup(objec
阅读全文
摘要:# coding: utf-8 import tensorflow as tffrom tensorflow.examples.tutorials.mnist import input_data mnist = input_data.read_data_sets("F:\TensorflowProj
阅读全文
摘要:1、使用conda创建环境 conda create --name caffe2env python=3.6 success ## To activate this environment, use(激活坏境)#conda activate caffe2env## To deactivate an
阅读全文
摘要:https://pan.baidu.com/s/1o7efLdK
阅读全文
摘要:#include <iostream>#include <opencv2/opencv.hpp>#include <math.h> using namespace std;using namespace cv; //拉普拉斯 边缘计算void TLaplacian() { Mat img1, img
阅读全文
摘要:#include <opencv2/opencv.hpp>#include <iostream> using namespace std;using namespace cv; void ChangeImgBG();Mat HandleImgData(Mat &img);/*图片背景替换知识点:分水
阅读全文
摘要:#include <opencv2/opencv.hpp>#include <iostream> using namespace cv;using namespace std; //加载图片并显示灰度图void loadGrayImg(){ Mat src = imread("D:\\images\
阅读全文
摘要:#include <opencv2/opencv.hpp>#include <iostream> using namespace cv;using namespace std; int main() { Mat src = imread("D:\\images\\1.jpg"); if (src.e
阅读全文
摘要:由于市面上的一些教程时间比较早,入门学习时跟随教程安装容易出现各种错误,这些错误基本都是版本不同导致的 所以,我们安装过程中一定要指出包的版本,如果你已经遇到no module named six.moves这样的错误了,不要担心,只需要重复下面的命令即可成功安装 注:这里是python2.7 su
阅读全文