上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 72 下一页

2021年3月14日

F.unfold F.fold F.normalize()

摘要: import torch.nn.functional as F F.unfold https://blog.csdn.net/qq_34914551/article/details/102940368 F.normalize()https://blog.csdn.net/ECNU_LZJ/artic 阅读全文

posted @ 2021-03-14 15:11 cltt 阅读(1129) 评论(0) 推荐(0) 编辑

2021年3月13日

torch.gather()

摘要: 作用:收集输入的特定维度指定位置的数值参数:input(tensor): 待操作数。不妨设其维度为(x1, x2, …, xn)dim(int): 待操作的维度。index(LongTensor): 如何对input进行操作。其维度有限定,例如当dim=i时,index的维度为(x1, x2, …y 阅读全文

posted @ 2021-03-13 16:43 cltt 阅读(200) 评论(0) 推荐(0) 编辑

tensor 3维分块乘法

摘要: a = torch.range(1,4) a = a.reshape(2,1,2) b= torch.range(1,12) b = b.reshape(2,2,3) c = torch.bmm(a,b) print('c') print(c) print(c.shape) d = torch.ze 阅读全文

posted @ 2021-03-13 15:31 cltt 阅读(207) 评论(0) 推荐(0) 编辑

2021年3月4日

github 无法访问

摘要: 增加或修改github.com github.global.ssl.fastly.net 具体请参考: https://www.cnblogs.com/haolb123/archive/2021/03/11/14516542.html https://jingyan.baidu.com/articl 阅读全文

posted @ 2021-03-04 08:52 cltt 阅读(85) 评论(0) 推荐(0) 编辑

2021年2月24日

CNN的参数量和计算量

摘要: 参数量以参数个数为单位,要计算内存或显存的,用参数量乘以每个参数所占的字节数即可。计算设备需要多大的内存或显存。 计算量以计算机做乘加次数为单位,即完成某个操作,需要执行多少次乘法和加法操作。网络训练的快慢 计算量: FLOPS:注意全大写,是floating point operations pe 阅读全文

posted @ 2021-02-24 12:29 cltt 阅读(687) 评论(0) 推荐(0) 编辑

2021年2月18日

空洞卷积 Dilated Convolution

摘要: 空洞卷积 dilated convolution 多了一个 参数 称之为 dilation rate 指的是kernel的间隔数量(e.g. 正常的 convolution 是 dilatation rate 1)。 k = k+(d-1)*(k-1) k:卷积核的尺寸,d:dilation rat 阅读全文

posted @ 2021-02-18 23:46 cltt 阅读(201) 评论(0) 推荐(0) 编辑

2021年2月16日

卷积神经网络bias的作用

摘要: 参考: https://blog.csdn.net/mmww1994/article/details/81705991?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.control 阅读全文

posted @ 2021-02-16 13:23 cltt 阅读(252) 评论(0) 推荐(0) 编辑

2021年2月10日

ImportError: libGL.so.1: cannot open shared object file: No such file or directory

摘要: import cv2 ImportError: libGL.so.1: cannot open shared object file: No such file or directory apt install libgl1-mesa-glx apt-get update 但是apt-get upd 阅读全文

posted @ 2021-02-10 21:27 cltt 阅读(941) 评论(0) 推荐(0) 编辑

2021年1月12日

C盘空间满了怎么办

摘要: 方法1 此电脑 C盘 右键属性 磁盘清理 但是有的用户没有磁盘清理这个选项 鼠标右键开始 运行 输入cleanmgr.exe 确定 方法2.卸载部分应用 点击程序和功能 右键需要卸载的应用 方法3 清空回收站 方法四、清除c盘无用文件 参考: http://www.xiaobaixitong.com 阅读全文

posted @ 2021-01-12 21:41 cltt 阅读(392) 评论(0) 推荐(0) 编辑

2020年12月23日

matlab中的运算符

摘要: 点运算是处理元素之间的运算,直接*在矩阵计算中只能处理符合矩阵运算法则的运算。 *:矩阵相乘,或数与数相乘。 .*:点乘,用于矩阵间对应元素的相乘,或数与数之间,数与矩阵之间的相乘。 /:右除。a/b表示矩阵a乘以矩阵b的逆 \:左除。a\b表示矩阵a的逆乘以b。 ./:右除。a./b表示矩阵a中的 阅读全文

posted @ 2020-12-23 10:04 cltt 阅读(420) 评论(0) 推荐(0) 编辑

上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 72 下一页

导航