摘要: import tensorflow as tffrom tensorflow.examples.tutorials.mnist import input_data #载入数据集mnist = input_data.read_data_sets("F:\TensorflowProject\MNIST_ 阅读全文
posted @ 2018-08-14 21:32 西北逍遥 阅读(701) 评论(0) 推荐(0)
摘要: # coding: utf-8 import tensorflow as tffrom tensorflow.examples.tutorials.mnist import input_data mnist = input_data.read_data_sets("F:\TensorflowProj 阅读全文
posted @ 2018-08-14 16:56 西北逍遥 阅读(482) 评论(0) 推荐(0)
摘要: # coding: utf-8 import tensorflow as tffrom tensorflow.examples.tutorials.mnist import input_data print("hello") #载入数据集mnist = input_data.read_data_se 阅读全文
posted @ 2018-08-13 14:55 西北逍遥 阅读(393) 评论(0) 推荐(0)
摘要: import tensorflow as tffrom tensorflow.examples.tutorials.mnist import input_data #载入数据集mnist = input_data.read_data_sets("F:\\TensorflowProject\\MNIS 阅读全文
posted @ 2018-08-13 14:22 西北逍遥 阅读(22495) 评论(0) 推荐(0)
摘要: # coding: utf-8 import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data #print("hello") #载入数据集mnist = input_data.read_data_ 阅读全文
posted @ 2018-08-13 12:27 西北逍遥 阅读(1161) 评论(0) 推荐(0)
摘要: # coding: utf-8import tensorflow as tffrom tensorflow.examples.tutorials.mnist import input_data #print("hello") #载入数据集mnist = input_data.read_data_se 阅读全文
posted @ 2018-08-12 21:18 西北逍遥 阅读(607) 评论(0) 推荐(0)
摘要: # coding: utf-8 import tensorflow as tffrom tensorflow.examples.tutorials.mnist import input_data #print("hello") #载入数据集mnist = input_data.read_data_s 阅读全文
posted @ 2018-08-12 20:36 西北逍遥 阅读(925) 评论(0) 推荐(0)
摘要: import tensorflow as tfimport numpy as np #使用numpy生成随机点x_data = np.random.rand(100)y_data = x_data*0.1 + 0.2 #构造一个线性模型b = tf.Variable(0.0)k = tf.Varia 阅读全文
posted @ 2018-08-10 21:13 西北逍遥 阅读(358) 评论(0) 推荐(0)
摘要: import tensorflow as tf #Fetch input1 = tf.constant(1.0)input2 = tf.constant(3.0)input3 = tf.constant(5.0) add = tf.add(input2,input3)mul = tf.multipl 阅读全文
posted @ 2018-08-10 20:59 西北逍遥 阅读(511) 评论(0) 推荐(0)
摘要: import tensorflow as tf x = tf.Variable([1,2])a = tf.constant([3,3])#增加一个减法opsub = tf.subtract(x,a)add = tf.add(x,sub) #初始化所有变量init = tf.global_variab 阅读全文
posted @ 2018-08-10 20:47 西北逍遥 阅读(147) 评论(0) 推荐(0)
摘要: import tensorflow as tf #创建一个常亮m1m1 = tf.constant([[3,3]])#创建一个常量m2m2 = tf.constant([[2],[3]])#矩阵相乘product = tf.matmul(m1,m2)print(product) #定义一个会话,启动 阅读全文
posted @ 2018-08-10 20:39 西北逍遥 阅读(183) 评论(0) 推荐(0)
摘要: update t_news inner join (select readCount from t_news t2 where t2.id=1) t1 set t_news.readCount = t1.readCount+1 where t_news.id=1; 阅读全文
posted @ 2018-07-28 12:06 西北逍遥 阅读(1239) 评论(0) 推荐(0)
摘要: 1、Realsense SDK 2.0 Ubuntu 16.04 安装指导网址 https://github.com/IntelRealSense/librealsense/blob/master/doc/distribution_linux.md#installing-the-packages 2 阅读全文
posted @ 2018-07-26 20:28 西北逍遥 阅读(3408) 评论(0) 推荐(0)
摘要: 1、使用conda创建环境 conda create --name caffe2env python=3.6 success ## To activate this environment, use(激活坏境)#conda activate caffe2env## To deactivate an 阅读全文
posted @ 2018-07-25 17:10 西北逍遥 阅读(271) 评论(0) 推荐(0)
摘要: 一、安装Anaconda3 1、下载 下载地址:https://www.continuum.io/downloads 2、安装 在文件目录下执行:bash Anaconda3-4.2.0-Linux-x86_64.sh 回车键继续 阅读完注册信息后,这里输入“yes” 选择加入环境变量,这里输入“y 阅读全文
posted @ 2018-07-25 11:17 西北逍遥 阅读(6244) 评论(0) 推荐(0)
摘要: 1.去官网下载opencv,在本教程中选用的时opencv3.4.1,其他版本的配置方法异曲同工。 下载链接http://opencv.org/releases.html,选择sources版本 2.解压下载下来的zip包 3.进入到解压后的文件包中 cd opencv-3.4.1 4.安装依赖库和 阅读全文
posted @ 2018-07-25 09:43 西北逍遥 阅读(1543) 评论(0) 推荐(0)
摘要: https://pan.baidu.com/s/1o7efLdK 阅读全文
posted @ 2018-07-17 12:57 西北逍遥 阅读(652) 评论(0) 推荐(0)
摘要: #include<iostream>#include "strmif.h"#include <initguid.h>#include<vector>#include<string> #pragma comment(lib, "setupapi.lib") using namespace std; # 阅读全文
posted @ 2018-07-07 15:29 西北逍遥 阅读(4408) 评论(1) 推荐(1)
摘要: 阅读全文
posted @ 2018-07-05 09:25 西北逍遥 阅读(953) 评论(0) 推荐(0)
摘要: 这是一面墙的IFC数据内容 文档内容 ISO-10303-21;HEADER; /******************************************************************************************* STEP Physical Fil 阅读全文
posted @ 2018-07-04 08:51 西北逍遥 阅读(1013) 评论(0) 推荐(0)
摘要: #include <iostream>#include <opencv2/opencv.hpp>#include <math.h> using namespace std;using namespace cv; //拉普拉斯 边缘计算void TLaplacian() { Mat img1, img 阅读全文
posted @ 2018-06-28 15:38 西北逍遥 阅读(4657) 评论(0) 推荐(0)
摘要: 一个球体与三个圆柱体形成一个组合体,在该组合体中,球体的透明度属性是由全透明到不透明之间变换,而且包括:旋转、平移等变换。 package com.vfsd.test0621; import java.applet.Applet;import java.awt.BorderLayout;import 阅读全文
posted @ 2018-06-22 10:00 西北逍遥 阅读(708) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-06-21 07:51 西北逍遥 阅读(1071) 评论(5) 推荐(0)
摘要: #include <opencv2/opencv.hpp>#include <iostream> using namespace std;using namespace cv; void ChangeImgBG();Mat HandleImgData(Mat &img);/*图片背景替换知识点:分水 阅读全文
posted @ 2018-06-20 19:42 西北逍遥 阅读(2677) 评论(0) 推荐(0)
摘要: 即系IFC数据并存储到关系型数据库中,目前解析的IFC文件是两亿多行,构件数量120万 参考论文:http://cpfd.cnki.com.cn/Article/CPFDTOTAL-JGCB201811001064.htm 阅读全文
posted @ 2018-06-16 19:26 西北逍遥 阅读(2273) 评论(0) 推荐(0)
摘要: #include <opencv2/opencv.hpp>#include <iostream> using namespace cv;using namespace std; //加载图片并显示灰度图void loadGrayImg(){ Mat src = imread("D:\\images\ 阅读全文
posted @ 2018-06-12 19:52 西北逍遥 阅读(9660) 评论(0) 推荐(0)
摘要: #include <opencv2/opencv.hpp>#include <iostream> using namespace cv;using namespace std; int main() { Mat src = imread("D:\\images\\1.jpg"); if (src.e 阅读全文
posted @ 2018-06-12 19:26 西北逍遥 阅读(207) 评论(0) 推荐(0)
摘要: rand()函数在(0,1)上创建均匀分布的随机数的数组 >> rand(3,5) ans = 0.8147 0.9134 0.2785 0.9649 0.9572 0.9058 0.6324 0.5469 0.1576 0.4854 0.1270 0.0975 0.9575 0.9706 0.80 阅读全文
posted @ 2018-06-04 07:44 西北逍遥 阅读(819) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-06-01 12:20 西北逍遥 阅读(758) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-05-19 12:52 西北逍遥 阅读(769) 评论(0) 推荐(1)