码迷,mamicode.com
首页 >  
搜索关键字:shape    ( 2078个结果
Egret之虚线的绘制
staticcreateDashLine(color:number,width:number,height:number=1):egret.Shape{let$dashLineSp:egret.Shape=newegret.Shape();$dashLineSp.width=width;$dashLineSp.height=height;$dashLineSp.graphics.lineStyle
分类:其他好文   时间:2020-01-12 21:40:59    阅读次数:184
Egret之渐变填充
this.bgShape=newegret.Shape();this.bgShape.width=w;this.bgShape.height=h;let$max:egret.Matrix=this.bgShape.matrix;$max.a=$max.d=0;$max.c=$max.b=1;this.bgShape.graphics.beginGradientFill(egret.Gradient
分类:其他好文   时间:2020-01-11 22:32:32    阅读次数:372
[linux]ubuntu this computer has only 1.1G space remaining
ubuntu this computer has only 1.1G space remaining ubuntu this computer has only 1.1G space remaining A: https://ubuntuforums.org/printthread.php?t=23 ...
分类:系统相关   时间:2020-01-09 22:22:31    阅读次数:143
RuntimeError: Assertion `cur_target >= 0 && cur_target < n_classes' failed
运行torch函数 torch.nn.functional.cross_entropy(pre, label, ignore_index=0)时报错,pre的shape为[ batch_size , n] label 的shape为[ batch_size]. 其中batch_size是batch的 ...
分类:其他好文   时间:2020-01-08 23:16:38    阅读次数:248
pytorch
1、 a b c d dim/len(shape):2 shape/size:torch.Size([2, 2]) numel == 2 * 2(number of element) 2、三种常用数据类型 torch.FloatTensor() torch.ByteTensor() torch.In ...
分类:其他好文   时间:2020-01-08 23:00:09    阅读次数:117
图像增强处理
水平翻转(标注翻转): def random_horizontal_flip(image, bboxes): _, w, _ = image.shape [:: 1] 顺序相反操作 a = [1, 2, 3, 4, 5] a[:: 1] Out[3]: [5, 4, 3, 2, 1] image = ...
分类:其他好文   时间:2020-01-08 16:11:02    阅读次数:140
图像增强
水平翻转(标注翻转): def random_horizontal_flip(image, bboxes): _, w, _ = image.shape # [::-1] 顺序相反操作 # a = [1, 2, 3, 4, 5] # a[::-1] # Out[3]: [5, 4, 3, 2, 1] ...
分类:其他好文   时间:2020-01-08 16:07:33    阅读次数:97
java 8 新特性
"Java Programming Language" Lambda Expressions, a new language feature, has been introduced in this release. They enable you to treat functionality as ...
分类:编程语言   时间:2020-01-08 14:28:34    阅读次数:73
smo
还在更新中import numpy as npimport random# build auxiliary functionclass optstruct: def __init__(self, datax, datay, C, toler): self.x = datax self.label = ...
分类:其他好文   时间:2020-01-08 01:03:18    阅读次数:183
一种Allegro增加LOGO的方式
1. 打开Allegro软件,新建Format symbol 2. 导入DXF LOGO,或者在Allegro中制作一个简易的LOGO 3. 将图形转换为Shape 4. 在BRD文件中增加刚做好的LOGO ...
分类:其他好文   时间:2020-01-05 19:09:17    阅读次数:165
2078条   上一页 1 ... 25 26 27 28 29 ... 208 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!