上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 73 下一页
摘要: 微信视频讲解(1) (推荐) 微信视频讲解(2) (推荐) Transformer 详解 (有详细的原理以及pytorch代码实现讲解,推荐) 李宏毅哔哩哔哩视频讲解 Vision Transformer 超详细解读 (原理分析+代码解读) (一) (推荐) 举个例子讲下transformer的输入 阅读全文
posted @ 2021-04-21 20:31 Picassooo 阅读(119) 评论(0) 推荐(0)
摘要: 1. 蒸馏损失函数代码实现 摘自:知识蒸馏loss求解方法 - tangjunjun - 博客园 (cnblogs.com) import torch import torch.nn as nn import numpy as np loss_f = nn.KLDivLoss() # 生成网络输出 阅读全文
posted @ 2021-04-03 19:44 Picassooo 阅读(1182) 评论(0) 推荐(0)
摘要: pytorch 中forward 的用法与解释说明 另外,关于__call__()方法,可参考:Python __call__()方法 阅读全文
posted @ 2021-03-30 15:32 Picassooo 阅读(413) 评论(0) 推荐(0)
摘要: 参考资料: sklearn调包侠之KNN算法 深入浅出KNN算法(一) KNN算法原理 深入浅出KNN算法(二) sklearn KNN实践 KNN的原理就是当预测一个新的值x的时候,根据它距离最近的K个点是什么类别来判断x属于哪个类别。 KNN是有监督学习中的分类算法,也就是已知训练样本的labe 阅读全文
posted @ 2021-03-20 11:46 Picassooo 阅读(103) 评论(0) 推荐(0)
摘要: matplotlib, 去除plt.savefig()的白边 阅读全文
posted @ 2021-03-14 14:57 Picassooo 阅读(1098) 评论(0) 推荐(0)
摘要: Latex Table 合并行/列 LaTeX技巧:如何隔开LaTeX表格邻近\cline表格线? 在 LaTeX 中插入表格 阅读全文
posted @ 2021-03-03 20:25 Picassooo 阅读(595) 评论(0) 推荐(0)
摘要: LaTeX:xcolor颜色介绍 阅读全文
posted @ 2021-03-03 20:21 Picassooo 阅读(289) 评论(0) 推荐(0)
摘要: 余弦相似性: 只适用于A和B的各个元素都为正的情况。 对于A和B的元素可能为负的情况,可采用下面的cos距离函数: 阅读全文
posted @ 2021-02-26 16:05 Picassooo 阅读(291) 评论(0) 推荐(0)
摘要: 【1】混淆矩阵(Confusion Matrix)概念 【2】 混淆矩阵-百度百科 【3】 Python中生成并绘制混淆矩阵(confusion matrix) 【4】 使用python绘制混淆矩阵(confusion_matrix) 示例: Python画混淆矩阵程序示例,摘自【4】。 from 阅读全文
posted @ 2021-02-18 16:56 Picassooo 阅读(5448) 评论(0) 推荐(0)
摘要: Tmux 使用教程 创建tmux: tmux new -s 名字 进入已创建的tmux: tmux a -t 名字 临时退出tmux: tmux detach 杀死tmux。如果在tmux外: tmux kill-session -t 名字 ;如果在tmux内: ctrl + d 列出已有的tmux 阅读全文
posted @ 2021-02-09 20:59 Picassooo 阅读(172) 评论(0) 推荐(0)
上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 73 下一页