摘要: 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 西北逍遥 阅读(357) 评论(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 西北逍遥 阅读(509) 评论(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 西北逍遥 阅读(182) 评论(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 西北逍遥 阅读(1238) 评论(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 西北逍遥 阅读(3403) 评论(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 西北逍遥 阅读(270) 评论(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 西北逍遥 阅读(6238) 评论(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 西北逍遥 阅读(1541) 评论(0) 推荐(0)
摘要: https://pan.baidu.com/s/1o7efLdK 阅读全文
posted @ 2018-07-17 12:57 西北逍遥 阅读(650) 评论(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 西北逍遥 阅读(4403) 评论(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 西北逍遥 阅读(1011) 评论(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 西北逍遥 阅读(4656) 评论(0) 推荐(0)
摘要: 一个球体与三个圆柱体形成一个组合体,在该组合体中,球体的透明度属性是由全透明到不透明之间变换,而且包括:旋转、平移等变换。 package com.vfsd.test0621; import java.applet.Applet;import java.awt.BorderLayout;import 阅读全文
posted @ 2018-06-22 10:00 西北逍遥 阅读(706) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-06-21 07:51 西北逍遥 阅读(1068) 评论(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 西北逍遥 阅读(2674) 评论(0) 推荐(0)
摘要: 即系IFC数据并存储到关系型数据库中,目前解析的IFC文件是两亿多行,构件数量120万 参考论文:http://cpfd.cnki.com.cn/Article/CPFDTOTAL-JGCB201811001064.htm 阅读全文
posted @ 2018-06-16 19:26 西北逍遥 阅读(2269) 评论(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 西北逍遥 阅读(9658) 评论(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 西北逍遥 阅读(817) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-06-01 12:20 西北逍遥 阅读(755) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2018-05-19 12:52 西北逍遥 阅读(768) 评论(0) 推荐(1)
摘要: 链接:https://pan.baidu.com/s/1qgptzWprnZ1_fOpjVP3aFQ 密码:mqgu 阅读全文
posted @ 2018-05-15 12:31 西北逍遥 阅读(388) 评论(0) 推荐(0)
摘要: RRT(快速探索随机树) 是一种通用的方法,不管什么机器人类型、不管自由度是多少、不管约束有多复杂都能用。而且它的原理很简单,这是它在机器人领域流行的主要原因之一。不过它的缺点也很明显,它得到的路径一般质量都不是很好,例如可能包含棱角,不够光滑,通常也远离最优路径。 RRT 能在众多的规划方法中脱颖 阅读全文
posted @ 2018-05-14 07:48 西北逍遥 阅读(1921) 评论(1) 推荐(0)
摘要: 阅读全文
posted @ 2018-05-13 16:28 西北逍遥 阅读(271) 评论(0) 推荐(0)
摘要: Non-convex MeshCollider with non-kinematic Rigidbody is no longer supported in Unity 5.If you want to use a non-convex mesh either make the Rigidbody 阅读全文
posted @ 2018-05-06 10:45 西北逍遥 阅读(1125) 评论(0) 推荐(0)
摘要: 有好多教程里面没有资源包,现在加密分享给大家 unity4.* 链接: https://pan.baidu.com/s/1XMo2zVpV3ZhkNZKOb6H0yw 密码: tqnt unity5.* 链接: https://pan.baidu.com/s/1Vr9HExcElnr9AYSBesR 阅读全文
posted @ 2018-05-06 10:08 西北逍遥 阅读(577) 评论(0) 推荐(0)
摘要: 由于市面上的一些教程时间比较早,入门学习时跟随教程安装容易出现各种错误,这些错误基本都是版本不同导致的 所以,我们安装过程中一定要指出包的版本,如果你已经遇到no module named six.moves这样的错误了,不要担心,只需要重复下面的命令即可成功安装 注:这里是python2.7 su 阅读全文
posted @ 2018-04-27 16:28 西北逍遥 阅读(4367) 评论(0) 推荐(0)
摘要: 打开unity3d软件,Edit - Preference - GI Cache选中 Custom Cache Location,切换到别的盘,然后点击 Clean Cache清空一次,再查看C盘,存储空间大增。 阅读全文
posted @ 2018-04-21 16:33 西北逍遥 阅读(6855) 评论(0) 推荐(0)