Latex 表格

2022-08-10
实现效果 代码 % Please add the following required packages to your document preamble: % \usepackage{multirow} \begin{table}[...
Read more
Latex 表格

在 Python 中使用 loguru 自动配置日志

2022-08-05
在 Python 中用到日志记录,那就不可避免地会用到内置的 logging 标准库 。虽然 logging 库采用的是模块化设计,你可以设置不同的 handler 来进行组合,但是在配置上通常较为繁琐;而且如果不是特别处理,在一些多线程或...
Read more

Markdown Cheat Sheet

2022-07-28

Overview

This Markdown cheat sheet provides a quick overview of all the Markdown syntax elements. It can’t cover every edge case, so if you need more information about any of these elements, refer to our reference guides for basic syntax and extended syntax.

Read more

罗德里格斯公式

2022-07-05
罗德里格斯公式采用一个旋转轴 uuu 和一个旋转角 θ\thetaθ 来刻画向量旋转 R=I+sin⁡(θ)K+(1−cos⁡(θ)K2R = I + \sin(\theta) K + (1-\cos(\theta)K^2R=I+sin(θ...
Read more
罗德里格斯公式

使用 Tqdm 实时显示 Loss 和 Acc 等信息

2022-05-30
Tqdm 是一个可以将 Python 脚本运行进度可视化的软件包,只需要封装进任何一个迭代器 tqdm(iterator) 或直接使用 trange() 代替 range(),即可在终端实时输出循环运行进度及预估剩余时间。 安装 使用 pi...
Read more
使用 Tqdm 实时显示 Loss 和 Acc 等信息

爱因斯坦求和约定 torch.einsum()

2022-05-23
使用 PyTorch 进行矩阵运算时,总是需要去记忆形如 torch.dot, torch.mm 的函数,当张量维度上升到四维及以上时,torch.einsum 是一种能够表达矩阵点积、外积、转置等运算,包括部分复杂张量运算在内的优雅方式。...
Read more
爱因斯坦求和约定 torch.einsum()

Python 中模块的搜索路径和包导入

2022-05-09
Module Searching Path The module searching path of Python is consists of 5 parts: The home directory of the script Pyth...
Read more

Physically Based Rendering

2022-03-02
Blinn-Phong shading model: L=CdiffN⋅L+Cspec(N⋅H)mL=C_{diff} N \cdot L + C_{spec} (N \cdot H)^mL=Cdiff​N⋅L+Cspec​(N⋅H)m C...
Read more

相机标定

2022-02-24
相机的内参和外参 三个坐标系 相机模型中,一般包含有三个坐标系: 世界坐标系 PwP_wPw​,相机坐标系 PcP_cPc​ 和像素坐标系 PxP_xPx​。相机内参 (Camera Intrinsics) 用于将相机坐标系转换至像素坐标系...
Read more

Install Google Service Framework on Windows 11 WSA

2022-02-09
Windows Subsystem for AndroidTM (WSA) is one of the new features of Windows 11. It enables Windows 11 devices to run An...
Read more
Install Google Service Framework on Windows 11 WSA