自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(29)
  • 收藏
  • 关注

原创 WIndows10配置 vscode Terminal

Edit Environment Variables -> Advance -> Environment Variables -> User variables 里的 Path,然后点Edit。解决方案:Ctrl+Shift+P -> 输入 settings json -> 选择user settings,在json文件中加入。一直是MacOS用户。现在可以运用vscode 的 terminal了。解决方案:将anaconda添加入路径。的时候报错,显示conda不存在。解决 conda 路径问题。

2024-02-22 12:39:34 547

原创 Adversarial Examples and GANs

GAN

2022-11-04 11:30:24 226

原创 Deep Learning

Deep Learning Basic

2022-11-04 09:55:42 1004

原创 Computer Architecture 学习笔记 -- 概述

Computer architecture basic instroduction

2022-09-20 03:17:47 877

原创 Dynamic Programming over Intervals

The Problem高中生物知识:double-stranded DNA is “zipped” together by complementary base-pairing. Each strand of DNA can be viewed as a string of bases, where each base is drawn from the set {A,C,G,T}\{A,C,G,T\}{A,C,G,T}. The bases A−TA-TA−T pair with each other

2022-02-19 04:25:43 158

原创 Subset Sums and Knapsack

Dynamic Programming: Subset Sums

2022-02-16 10:50:34 228

原创 ROS 学习笔记(一)

简介ROS (The Robot Operating System) 是一个灵活的机器人研发的框架。机器人运行逻辑:Computer Vision + Sensor Fusion -> Localization -> Path Planning -> Control优点Modularity: 每个功能都可以作为单独的程序运行。Distributed: programs can run on multiple computers across different networks

2021-10-05 08:45:23 166

原创 显卡版本不匹配

参考Comzyh的博客$ nvidia-smiFailed to initialize NVML: Driver/library version mismatch查看是否能运行cuda:>>> import torch>>> torch.cuda.is_available()False查看当前驱动,发现安装了一堆显卡驱动(用来驱动显卡的程序,它是硬件所对应的软件)$ ubuntu-drivers devices== /sys/devices/pci0

2021-08-07 12:07:57 958

原创 Git学习使用总结

目录1. Git and Github2. Git的目录结构3. Branch的概念4. Git的结构和命令关系4.1 Git Fetch4.2 Git Remote4.3 Git Branch4.4 Git Checkout4.5 Git Log4.6 Git Diff4.7 Git Reset4.8 Git Push5. Submodule参考1. Git and GithubGit是版本控制软件(version control system VCS),方便track changes to file

2021-08-07 01:35:26 193

原创 强化学习:MuJoCo、mujoco_py、gym的安装

目录Obtain LicenseLinux 系统安装 mujoco200和mujoco_py一、安装 MuJoCo二、安装 mujoco_py三、安装 gymMac OSX 系统安装 mujoco200和mujoco_py一、安装 MuJoCo二、安装 mujoco_py三、安装 gym参考Obtain License由于mujoco在更新政策,现在可以直接从官网下载license,获得 mjkey.txt。Linux 系统安装 mujoco200和mujoco_py环境:Ubuntu 18.04

2021-08-04 14:48:02 3171 2

原创 ORB_SLAM3 安装、编译及测试

ORB_SLAM3 开源代码论文地址:https://arxiv.org/abs/2007.11898检查编译器C++编译器这里用的是GCC。GCC原名GNU C Compiler,后来逐渐支持更多语言编译(C++, Fortran, Pascal, Objective-C, Java, Ada, Go等),所以变成了GNU Compiler Collection, 是一套由GNU工程开发的支持多种编程语言的编译器。优点: 类Unix下的标准编译器,支持众多语言,支持交叉编译。缺点:不支持Wind

2021-07-27 21:44:08 6698 4

原创 Convolutions and Fast Fourier Transform

The ProblemGiven two vectors a=(a1,a2,...,an−1)a = (a_1, a_2, ..., a_{n-1})a=(a1​,a2​,...,an−1​) and b=(b1,b2,...,bn−1)b=(b_1, b_2, ..., b_{n-1})b=(b1​,b2​,...,bn−1​). The convolution of two vectors of length nnn is a vector of length 2n−12n-12n−1. 定义 con

2021-06-17 13:43:01 482

原创 git clone 报错处理和submodule子模块的添加

git clone 报错error message:fatal: unable to access 'https://github.com/xxx.git/': gnutls_handshake() failed: The TLS connection was non-properly terminated.问题:代理设置有错,为 http 错误配置了 https 的代理,导致出错。解决方法:如果没有配置代理,用以下命令取消代理:git config --global --unset http

2021-06-17 13:32:59 2040

原创 finalshell 隧道访问 - 通过两层SSH登录

目录VSCode - Remote SSH配置finalshell - 解决两层跳板问题配置跳板机配置隧道配置目标机使用VSCode - Remote SSH服务器部署在Linux远程机器上时,需要用SSH连接,然后用text editor去修改源文件。VSCode的插件Remote-SSH,使得界面可视化,可以用IDE写代码并上传。配置扩展搜索 (under view, select Extensions) remote-ssh安装左侧导航栏出现一个电脑图标,选择并添加目标机 (ssh re

2021-03-25 18:00:10 3487

原创 Mac安装虚拟环境(VM)

引言Running the virtualization environment could take up to 15GB of space on your machine so make sure you have enough to start with.安装步骤Download a Ubuntu Image for VMWare from osboxes.org. Click on “VM Images” and select “VMware Images”This will tak

2021-03-18 23:49:34 1054

原创 卷积和傅立叶分析

目录ConvolutionFourier AnalysisFourier SeriesFourier TransformConvolution卷积是一种数学运算。我们称 (f∗g)(n)(f*g)(n)(f∗g)(n) 为 f,gf, gf,g 的卷积。连续定义:(f∗g)(n)=∫−∞∞f(τ)g(n−τ)dτ(f*g)(n)=\int_{- \infty}^{\infty} f(\tau)g(n-\tau) d \tau(f∗g)(n)=∫−∞∞​f(τ)g(n−τ)dτ离散定义:(f∗g)

2020-08-25 16:27:07 1168

原创 Randomized Algorithms: Hashing: A Randomized Dictionary

目录The ProblemDesigning the Data StructureHash FunctionsChoosing A Good Hash FunctionUniversal Classes of Hash FunctionsDesigning a Universal Class of Hash FunctionsAnalyzing the Data StructureThe Problemthere is a universe UUU of possible elements that

2020-08-23 20:08:17 210

原创 Randomized Algorithms: Median Finding

目录More Divide-and-ConquerThe Problem - Finding the MedianDesign the Algorithm基于 Splitters 的简单算法Choosing a Good SplitterAnalyzing the AlgorithmMore Divide-and-ConquerIn General Divide-and-Conquer:T(n)=qT(n/p)+O(n)T(n)=qT(n/p)+O(n)T(n)=qT(n/p)+O(n) 其中 qqq

2020-08-21 00:18:52 494

原创 Divide and Conquer - Multiplying Integers

The Problem

2020-08-19 00:03:03 198

原创 Shortest Paths in a Graph

目录The ProblemDijkstra's Algorithm第一种写法第二种写法More Complex ProblemDesign the Algorithm算法伪代码例子Extensions: Some Basic Improvements to the AlgorithmAn Improved Running-Time AnalysisImproving the Memory RequirementsFinding the Shortest PathsThe ProblemLet G=(V,

2020-08-18 00:17:00 549

原创 Sequence Alignment

The ProblemGiven two strings XXX and YYYXXX consists of the sequence of symbols x1x2...xmx_1x_2...x_mx1​x2​...xm​YYY consists of the sequence of symbols y1y2...yny_1y_2...y_ny1​y2​...yn​令集合 {1,2,...,m}\{1, 2, ..., m\}{1,2,...,m} 和集合 {1,2,...,n}\{1, 2

2020-08-15 22:27:20 1204

原创 Segmented Least Squares: Multi-way Choices

在 weighted interval scheduling problem 中,we developed a recurrence based on fundamentally binary choice: either the interval n∈On \in \mathcal{O}n∈O or n∉On \notin \mathcal{O}n∈/​O. 这次的问题中,the recurrence will involve what might be called “multi- way choice

2020-08-09 22:39:12 1143

原创 Weighted Interval Scheduling

The ProblemWe have nnn requests labeled 1,2,...,n1, 2, ..., n1,2,...,n, with each request iii 起始时间: sis_isi​ ,结束时间: fif_ifi​.Each interval iii has a value, or weight, viv_ivi​.Two intervals are compatible if they do not overlap.GOAL: select a subset S

2020-08-07 23:29:00 582

原创 Huffman Codes and Data Compression

哈夫曼编码让不同字符之间代码长度不同,保证经常出现的字符的代码要短。Prefix Code浅层定义:没有字符代码是别的字符代码的前缀。定义:for a set SSS of letters, a prefix code is a function γ\gammaγ that maps each letter x∈Sx \in Sx∈S to some sequence of zeros and ones, in such way that for distinct x,y∈Sx, y \in Sx,y

2020-07-30 21:21:06 223

原创 The Minimum Spanning Tree Problem

问题Graph G=(V,E)G=(V, E)G=(V,E):A set of locations V={v1,v2,...,vn}V=\{ v_1, v_2, ..., v_n\}V={v1​,v2​,...,vn​}任意两个 node vi,vjv_i, v_jvi​,vj​ 可以构成一个 edge e=(vi,vj)e=(v_i, v_j)e=(vi​,vj​)每条边 eee has a positive cost cec_ece​Find a subset of the edges T

2020-07-30 17:58:05 654

原创 Greedy Algorithm - Interval Scheduling

Greedy的基本思路用一个方法在每一个阶段找到最好的决策。在算法终止时,可以得到全局最优解。问题Interval Scheduling Problem:a set of request {1,2,...,n}\{1, 2, ..., n\}{1,2,...,n}ithi^{th}ith request corresponds to an interval of time with starting at sis_isi​ and finishing at fif_ifi​基本定义Com

2020-07-23 21:21:35 876

原创 Stable Matching - Gale Shapely Algorithm

Stable Matching - Gale Shapely Algorithm基本定义伪代码GS算法定理合理的创建标题,有助于目录的生成如何改变文本的样式插入链接与图片如何插入一段漂亮的代码片生成一个适合你的列表创建一个表格设定内容居中、居左、居右SmartyPants创建一个自定义列表如何创建一个注脚注释也是必不可少的KaTeX数学公式新的甘特图功能,丰富你的文章UML 图表FLowchart流程图导出与导入导出导入基本定义Matching: A matching S={(m,w)∣m∈M&nbs

2020-07-03 21:05:32 453

原创 Python - 递归和循环学习笔记

Python - Recursion & For Loop 学习笔记Recursion基本概念Call StackNumeric ExamplesDivide and Conquer步骤例题(List)Recursion基本概念Recursive function: A function that calls itself. (直接或者间接)递归算法解决问题的特点:(1)递归就是...

2018-11-09 02:00:29 1187

原创 Python - Class and Subclass 学习笔记

Python - Class and Subclass 学习笔记ClassClass 和 Object 的 FolderThe Class DefinitionConstructor and InitializerInstances and AttributesHidden Attribute and Data EncapsulationMethodHiding Methods From Acce...

2018-11-04 23:36:41 5326

空空如也

空空如也

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

TA关注的人

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