![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
零散知识
zhulf0804
点云,深度学习
展开
-
PyTorch学习率
https://www.kaggle.com/isbhargav/guide-to-pytorch-learning-rate-scheduling原创 2021-01-13 17:31:56 · 195 阅读 · 0 评论 -
位运算
https://oi-wiki.org/math/bit/原创 2021-01-10 22:48:43 · 115 阅读 · 0 评论 -
查看python运行程序的id号
查看python运行程序的id号:ps -ef|grep python原创 2020-12-18 20:21:05 · 1073 阅读 · 2 评论 -
Softmax后的数据分布
在读SampleNet网络的时候,论文中提到当数据都很小(非常大的负数)时,经过Softmax后,会倾向于出现[0, 1]的值,比较疑惑,就进行了实验,发现的确如此。import numpy as npimport torchimport torch.nn as nndef pprint(x, y, desc): print('='*10, desc, '='*10) print(f'input: {np.round(x.numpy(), 2)}') print(f'sof原创 2020-10-28 11:56:02 · 1024 阅读 · 0 评论 -
python刷题的小技巧
刷题时的一些小经验:队列使用collections.deque() 或 list模拟指针, 不要使用queue.Queue()优先队列使用heapq, 不要使用queue.PriorityQueue()原创 2020-03-26 00:03:06 · 283 阅读 · 0 评论 -
Numpy中的索引方式
每次看到numpy数组和PyTorch Tensor的复杂的索引操作时就很懵,在这里整理一下numpy中的常用的索引方式(numpy中的索引方式和pytorch很相似),以例子为主。整数索引import numpy as npa = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]])b = a[1:3, 1:3]c = a[1:3, [1, 2]]...原创 2020-01-09 16:56:12 · 756 阅读 · 0 评论 -
Linux 常用命令行操作
Vim查看文件中某字符出现的个数: https://blog.csdn.net/liuxuejiang158blog/article/details/32135575Vim跳转操作: https://blog.csdn.net/zcl369369/article/details/7551962查看当前文件夹个数: https://blog.csdn.net/a1007720052/artic...原创 2019-12-30 21:41:04 · 292 阅读 · 0 评论 -
shell基础编程
IntroductionShell编程从入门到放弃学习笔记。MaterialsShell Style GuideVariable$i$*$#$?ArrayA=(test1 test2 test3)echo ${A[0]}echo ${A[@]}echo ${#A[@]}${A[@]/test2/test5}unset A[2]Syn...原创 2019-08-25 22:28:26 · 100 阅读 · 0 评论 -
docker常用命令及DockerFile
Introductiondocker commands list, and DockerFile.尚硅谷 Docker核心技术(基础篇) 学习笔记。Helpdocker versiondocker infodocker --helpImagedocker images [-a] [-q] [–digests] [–no-trunc]docker search [-s n]...原创 2019-08-25 18:24:06 · 140 阅读 · 0 评论 -
几种炫酷的Web特效
web特效烟花效果代码: https://github.com/zhulf0804/Web-Special-Effects/tree/master/yanhua效果: https://zhulf.com/web/yanhua参考: https://blog.csdn.net/qq_42393859/article/details/87364433#comments圣诞树代码: h...原创 2019-02-16 19:49:28 · 4977 阅读 · 2 评论 -
vim在显示行号时复制,不要行号
shft+v进入visiual模式,选择要复制的行,之后输入“+y就可以了原创 2018-01-16 17:14:49 · 7015 阅读 · 2 评论