原创 Leetcode 621. Task Scheduler

題目: Given a char array representing tasks CPU need to do. It contains capital letters A to Z where different letters

原创 用tensforflow.keras訓練kaggle的MNIST

將0-255的像素值normalize到0-1 將categorical label轉化爲one-hot encoding 選擇合適的csv讀取和寫入包會加速Prototype的效率 Kaggle提交時候需要Header Windo

原创 96. Unique Binary Search Trees

題目: Given n, how many structurally unique BST’s (binary search trees) that store values 1 … n? 思路: 這題是有標準答案的,答案是用的動態

原创 Leetcode 62. Unique Paths

Description: A robot is located at the top-left corner of a m x n grid (marked ‘Start’ in the diagram below). The rob

原创 Leetcode 139. Word Break

Description: Given a non-empty string s and a dictionary wordDict containing a list of non-empty words, determine if

原创 雷達項目回顧1

SVM 一定不要忘記Normalize,而且要注意用training set的norms 和 mean 來 normalize testing set。特別是要注意二者的先後順序要統一,如果training set是先norm後me

原创 自動駕駛nuScenes數據集——一個KITTI以外的新數據集

1. 數據集簡介 (圖片來源:https://www.nuscenes.org/data-collection ) nuScenes數據集 是自動駕駛公司nuTonomy建立的大規模自動駕駛數據集,該數據集不僅包含了Camera和Li

原创 CS231n筆記1-Linear Classifier: Support Vector Machine, Softmax Classifier

Linear classifier is a template matching. 這裏的線性分類器就是相當於給每一個Feature一個權值,這個權值其實是一個尺寸與圖片一樣大小的Filter。記得一個結論:Filter的樣子往往就

原创 Faster R-CNN中的RPN

今天在讀Faster R-CNN。 之前讀過一次,當時正在看SSD,感覺Faster R-CNN的網絡結構和SSD有一些相似,所以Faster R-CNN就只是粗略地看了一下。今天當我有時間仔細讀了一下以後,突然被一個問題卡住了——下

原创 LeetCode.79 Word Search(#Array#)

題目要求 Given a 2D board and a word, find if the word exists in the grid. The word can be constructed from letters of s

原创 如何令ros melodic能夠兼容ros indigo的message

問題描述:從ros indigo記錄下來的rosbag遇到ros melodic就會報以下錯誤: Client wants topic xxxxx to have datatype/md5sum [xxxxx], but our ve

原创 雷達項目回顧2

做可視化的時候,如果想要從圖片生成視頻,最好把每個圖片都按照0001,0002,0003 這樣固定的位數排序,否則在用os.listdir(dir_path)這種口令時候,會按照從高到低位的數字來排序,比如1,100,1000 注意

原创 如何在Linux Server中使用多個terminal

通過screen來實現用一個ssh連接到server後打開多個terminal。 screen的使用 通過多個ssh連接到server。 關於是否可以這樣做的解釋 The Short Answer: Yes, it usuall

原创 CS231n筆記3-Backpropagation, Intuitions

如果我們有了函數f(W,x⃗)f(W, \vec x)f(W,x),我們既關心fff對WWW的導數,因爲我們需要更新的就是WWW,也關心fff對x⃗\vec xx的導數,因爲我們要反向傳播。 The derivative on

原创 C++ Primer Plus 學習筆記2:分支語句和邏輯運算符

最近總在看基礎,基礎的深度學習,基礎的語言,基礎的數據結構與算法,真的是很無聊。 && ||的優先級比關係運算符低 i++<6||i==j如果在這一句之前i=10,那麼當i與j比較的時候,i=11。 17<age<35不會報編譯