自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(81)
  • 资源 (5)
  • 收藏
  • 关注

原创 十分钟读懂AES加密算法

今天看了Moserware的《A Stick Figure Guide to the Advanced Encryption Standard(AES)》收获了不少,对AES算法有了更加清楚的理解,这篇博客用了大量的情景图文来展示AES的发展历史和算法的具体流程,虽然是2009年的博文,但是在今天仍然是很有借鉴意义。今天将这篇博文翻译过来,翻译不畅,暂且抛砖引玉。很久以前 AES:我每天处理很多数

2017-09-23 10:07:28 90103 22

原创 SO(3)的不可约表示

本月新坑李群、李代数不可约表示 (Irreducible Representations)SO(2), SO(3)的不可约表示挖一个新坑,在中文互联网上没有看到比较系统的阐述,希望自己能花时间整理一下给后来者谋个福利。李群、李代数这一部分有比较好的学习材料,整理一下即可。不可约表示 (Irreducible Representations)TODO:主要是舒尔引理和Wigner D矩阵SO(2), SO(3)的不可约表示TODO:主要是SO(2)的可交换性和SO(3)的不可约表示的含义..

2022-03-14 17:36:09 899

转载 C++注释规范

https://www.cnblogs.com/aspiration2016/p/8433122.html

2020-12-18 17:34:23 260 1

原创 deformation gradient & polar decomposition

deformation gradient: http://www.continuummechanics.org/deformationgradient.htmlpolar decompostion: http://www.continuummechanics.org/polardecomposition.html

2020-12-02 21:17:01 236

原创 fixing dpkg’s file overwrite error

https://raphaelhertzog.com/2011/08/01/understanding-dpkgs-file-overwrite-error/#:~:text=That%20field%20allows%20dpkg%20to%20take%20over%20files,using%20an%20APT%20frontend%20%28like%20apt-get%20or%20aptitude%29.

2020-12-02 19:53:04 143

原创 pytorch扩展权限问题: [cpp_ext] tmp build dir permission issue

问题详见:issue34238用户在使用torch.utils.cpp_extension.load调用自己的torch扩展时,pytorch默认会在linux的tmp/torch_extension目录下编译,但是当系统中多用户使用该扩展时会产生冲突,系统会对/tmp/torch_extension/$your_extension文件夹上锁,导致另一个用户无法因为权限问题使用。该issue已经在torch1.6及其更高版本中被解决commit/13013848d58a606da7377affeb4

2020-08-13 20:56:20 968

原创 WSL2 Input/output error

解决方案1:重启wslwsl --shutdownwsl解决方案2重新挂载C盘sudo umount /mnt/csudo mount -t drvfs C:\\ /mnt/cReferences:WSL issue 4377

2020-07-13 09:57:33 2666 1

原创 WSL2 桌面GUI

WSL新升级为了WSL2,可是却遇到GLFW无法打开可视化界面的问题,原来是之前设置的环境变量DISPLAY=0:0或者DISPLAY=localhost:0在新的WSL2不适用,应该将网络地址改为win10下面的局域网地址,ipcinfig看一下自己的ip地址,设置新的环境变量即可。https://autoize.com/xfce4-desktop-environment-and-x-server-for-ubuntu-on-wsl-2/...

2020-07-07 17:03:00 6112

原创 Pytorch的若干非奇技淫巧

数据处理from skimage import ioimg = io.imread(filename, as_gray=True)注意这里as_gray=True返回的img其实是除以255的,所以范围是[0,1]import numpy as npimport torchxx, yy = np.meshgrid(np.arange(w), np.arange(h))yy, xx...

2020-04-23 17:36:10 413

原创 ImportError: TensorBoard logging requires TensorBoard with Python summary writer installed.

这是一次傻逼的经历,突然报如下错误,我以为是环境坏掉了,重装环境搞了半天,猜猜最后是什么原因?Traceback (most recent call last): File "/home/leerw/.local/lib/python3.6/site-packages/torch/utils/tensorboard/__init__.py", line 2, in <module&gt...

2020-04-09 18:32:05 3176 11

原创 相机原理、投影/变换矩阵和相关实现

原理https://www.scratchapixel.com/lessons/3d-basic-rendering/perspective-and-orthographic-projection-matrix/opengl-perspective-projection-matrixhttp://www.codinglabs.net/article_world_view_projection...

2020-04-04 16:21:23 622

原创 PyTorch模型参数统计问题

PyTorch模型参数统计问题使用torchsummary使用torchsummary可以方便的统计模型的参数量from torchsummary import summarymodel = net().cuda()input_shape = (1,256,256)summary(model, input_size)即可打印出网络结构和参数统计但是有一个问题:对于共享参数的模块(...

2020-04-01 17:30:46 1663 9

转载 罗德里格斯公式

https://blog.csdn.net/q583956932/article/details/78933245

2020-03-18 20:42:40 930

原创 虞美人·枕上

虞美人·枕上堆来枕上愁何状江海翻波浪夜长天色总难明寂寞披衣起坐数寒星晓来百念都灰烬剩有离人影一钩残月向西流对此不抛眼泪也无由...

2020-03-11 18:20:07 312

原创 四元数Quaternion

https://krasjet.github.io/quaternion/quaternion.pdf

2019-11-22 22:41:55 348

原创 PCL installation on Ubuntu

# 安装依赖sudo apt-get update sudo apt-get install git build-essential linux-libc-dev sudo apt-get install cmake cmake-gui sudo apt-get install libusb-1.0-0-dev libusb-dev libudev-dev sudo apt-g...

2019-10-04 17:24:44 302

原创 三维模型文件格式

介绍地非常全面了http://knowthyself.cn/blog/one.lsp?pinyin=stl-ply-obj-ge-shi-fen-xi

2019-10-03 21:51:41 6761

原创 Computer Graphics Resources

计算机几何图形学编程资源Learning Modern 3D Graphics Programming

2019-09-18 23:22:55 366

原创 参数化与纹理映射、渲染

三维图形渲染显示的全过程 https://zhuanlan.zhihu.com/p/44821714OpenGL纹理映射 http://caobeixingqiu.is-programmer.com/posts/18999.html参数化与平滑 http://wap.sciencenet.cn/home.php?mod=space&mobile=1&do=blog&...

2019-09-01 19:20:02 1225

原创 仿射变换、仿射矩阵

如何通俗地讲解「仿射变换」这个概念? - 马同学的回答 - 知乎https://www.zhihu.com/question/20666664/answer/157400568https://www.wikiwand.com/zh/%E4%BB%BF%E5%B0%84%E5%8F%98%E6%8D%A2...

2019-08-19 19:39:23 1297

原创 cayley diagram

http://wxyhly.github.io/archives/group1/https://www.wikiwand.com/zh/%E5%87%B1%E8%90%8A%E5%9C%96

2019-08-19 19:22:58 290

原创 Why does the Eigen decomposition of the covariance matrix of a point cloud give its orientation?

数学分析PCA协方差矩阵的几何角度解释

2019-08-08 20:54:22 192

原创 PointNet、PointNet++

PointNetPointNet vanilla亮点端到端学习通用的框架Object ClassificationObject Part SegmentationSemantic Scene ParsingChallenges输入的点云是无序的需要做到对几何变换的invarianceC1:作为输入的点云实际上就是point的集合,是无序的,但是目前的深度学习关...

2019-03-21 11:01:35 3068 3

原创 LeetCode Medium Swaps To Make Sequences Increasing

We have two integer sequences A and B of the same non-zero length.We are allowed to swap elements A[i] and B[i]. Note that both elements are in the same index position in their respective sequences....

2019-03-08 16:25:58 145

原创 LeetCode Medium Add Two Numbers-II

You are given two non-empty linked lists representing two non-negative integers. The most significant digit comes first and each of their nodes contain a single digit. Add the two numbers and return i...

2019-03-07 16:36:07 109

原创 LeetCode Medium 3Sum

Given an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.Note:The solution set must not contai...

2019-03-05 15:06:22 109

原创 LeetCode Medium String to Integer(atoi)

Implement atoi which converts a string to an integer.The function first discards as many whitespace characters as necessary until the first non-whitespace character is found. Then, starting from this...

2019-03-04 19:19:39 140

原创 LeetCode Easy To Lower Case

Implement function ToLowerCase() that has a string parameter str, and returns the same string in lowercase.Example 1:Input: "Hello"Output: "hello"Example 2:Input: "here"Output: "here"Example ...

2019-03-04 15:09:59 91

原创 LeetCode Medium Longest Palindromeic Substring

Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000.Example 1:Input: "babad"Output: "bab"Note: "aba" is also a valid answer.Example...

2019-03-04 14:57:05 95

原创 LeetCode Hard Number of Squareful Arrays

title: LeetCode Hard Number of Squareful Arraysdate: 2019-02-26 22:00:00categories:- LeetCodeGiven an array A of non-negative integers, the array is squareful if for every pair of adjacent eleme...

2019-02-27 15:08:40 185

原创 LeetCode Medium Genertate Parenthese

Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, given n = 3, a solution set is:[ "((()))", "(()())", "(())()", "()(())", ...

2019-02-27 10:21:04 128

原创 回溯思想

模板// 探索这个候选方案// 当由它不能构建完整解法时返回false// 当递归地调用LeadToSolution找到完整解法时// 返回trueBoolean: LeadToSolution(Solution: test_solution) // 如果我们已经判断出这个局部解不能得到完整解,返回false If &amp;lt;test_solution 不能解决问题&amp;gt;...

2019-02-26 09:15:32 230

原创 LeetCode Medium Palindrome Partitioning

Given a string s, partition s such that every substring of the partition is a palindrome.Return all possible palindrome partitioning of s.Example:Input: "aab"Output:[ ["aa","b"], ["a","a","b&q

2019-02-25 10:12:56 124

原创 读余华《兄弟》有感

读余华《兄弟》有感缘起第一次读余华是四年前,那个时候稚嫩的自己还在读高三,阳光明媚的早上,麻雀在教室窗外叽叽喳喳地叫着,好不热。教室内的我也好不忙碌,当时的自己,最不喜欢的就是语文课和英语课,因为觉得很无聊,语文课知乎者也,整天重复着一些当时“看起来枯燥的东西”,而这些东西竟然还都要背下来,对不喜欢背书的我而言甚是痛苦,英语课上老师倒是可爱,“妙趣横生”,但是各种语法知识给我听得云里雾里。而我...

2019-01-29 18:12:46 1053

原创 LeetCode LinkedList 总结

All solutions below were implemented in C++19 Remove Nth Node From End of Listhttps://leetcode.com/problems/remove-nth-node-from-end-of-list/description/Given a linked list, remove the n-th node fr...

2019-01-14 21:35:54 259

原创 LeetCode Easy Valid Parenthese

Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.An input string is valid if:Open brackets must be closed by the same type of bra...

2019-01-13 11:16:28 150

原创 LeetCode Easy Sqrt(x)

Implement int sqrt(int x).Compute and return the square root of x, where x is guaranteed to be a non-negative integer.Since the return type is an integer, the decimal digits are truncated and only t...

2019-01-13 11:16:07 116

原创 LeetCode Easy Search Insert Position

Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.You may assume no duplicates in the array.Ex...

2019-01-13 11:15:48 103

原创 LeetCode Easy Same Tree

Given two binary trees, write a function to check if they are the same or not.Two binary trees are considered the same if they are structurally identical and the nodes have the same value.Example 1...

2019-01-13 11:15:29 96

原创 LeetCode Easy Roman to Integer

Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M.Symbol ValueI 1V 5X 10L 50C 100D ...

2019-01-13 11:15:13 159 1

计算机组成与系统结构-袁春风

高清pdf计算机组成与系统结构-袁春风

2018-11-11

《线性代数中秩的应用》

详细讲解了秩的本质及其应用,对理解线性代数的本质有很大的帮助。

2018-06-01

数码管显示实验proteus仿真

硬件实验2:数码管显示实验 proteus 仿真 电路图 不知道为什么之前下载所需积分变成了31分,我觉得挺奇怪的,我记得我之前设置的是3分,下载这个资源的肯定都是初学者,现在我重新设置成了5分(好像现在积分不值钱了),意思一下就行啦

2017-05-31

单片机串口通信

单片机串口通信

2016-12-24

单片机AT89C52串口通信实验

机组串口通信实验大作业

2016-12-24

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除