1 import numpy as np 2 import matplotlib.pyplot as plt 3 from sklearn.datasets import make_blobs 4 from sklearn.neighbors import KNeighborsRegressor 5 ...
分类:
编程语言 时间:
2019-11-29 18:15:24
阅读次数:
61
在Excel工作表中,有多种Shape类型的时候,可以通过shape.Type属性值返回一个代表形状类型的MsoShapeType数值。通过该数值可知该图形的类型! 列表如下: 名称 值 说明 msoAutoShape 1 自选图形 msoCallout 2 标注 msoChart 3 图 msoC ...
分类:
其他好文 时间:
2019-11-29 15:48:00
阅读次数:
72
效果: let x = shuN.style.x + rectValue/4,//粒子开始的地方 y = zuY+140 + 5, h = 14*0.8, w = rectValue/2; this.drawParticles(x, y , w, h, 20, 0, i); //画牵引粒子 draw ...
分类:
其他好文 时间:
2019-11-29 15:45:04
阅读次数:
151
虽然已经走在 torch boy 的路上了, 还是把碰到的这个坑给记录一下 数据量较小时,我们可直接把整个数据集 load 到内存里,用 model.fit() 来拟合模型。 当数据集过大比如几十个 G 时,内存撑不下,需要用 model.fit_generator 的方式来拟合。 model.fi ...
分类:
其他好文 时间:
2019-11-28 20:48:29
阅读次数:
268
Assignment 5 – UML & RefactoringCSCI3130 – Software Engineering – Fall 2019Due date: November 29, 2019 at 23:59For this assignment you will first answ ...
分类:
其他好文 时间:
2019-11-27 18:55:34
阅读次数:
71
1.安装Python3.6,必须是3.6因为当前KerasNet的配套版本是3.6 https://www.python.org/ftp/python/3.6.8/python-3.6.8-amd64.exe 安装时勾选将python路径添加到环境变量 2.安装tensorflow,cmd窗口输入命 ...
分类:
Web程序 时间:
2019-11-22 23:54:39
阅读次数:
235
1、shape,ndim 形状和维度 (1)View视图,图片在内存中以行优先进行存储 [ b,28,28] :view1,b张图片,每张28行,28列, [b,28*28]:view2,每张图片作为一行,将每张图片的数据作为一个统一的数据,不知道数据的构成,所以仅靠这无法对图片复原,如果想要复原就 ...
分类:
其他好文 时间:
2019-11-21 20:11:50
阅读次数:
100
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8"> <script src="shapefile.js"></script> <script> shapefile.open("http://localhost:8181/ ...
分类:
Web程序 时间:
2019-11-21 15:29:08
阅读次数:
724
.shape : 查看矩阵或数组的维数 .shape[0] : 查看行长度 .shape[1] : 查看列长度 tile(A, (B, C)) : 重复数组A,行上B次,列上C次 B=A.argsort() : 将数组A中的元素从小到大排列,提取其对应的索引index,然后输出到B a = [1, ...
分类:
编程语言 时间:
2019-11-21 14:23:37
阅读次数:
90
3D视觉随笔 想到什么写什么。 1. 3D目标检测任务/6D姿态估计任务需要3D表示 2D图像是网格数据,对于3D检测(3d location + 3d size + orientation)任务非常不友好,虽然可以通过添加几何约束(比如PnP定位?)来得到3D box,比如在CVPR 2019 X ...
分类:
其他好文 时间:
2019-11-18 10:02:08
阅读次数:
79