原创 caffe繪製訓練過程中的accuracy、loss曲線

訓練模型並保存日誌文件        首先建立一個訓練數據的腳本文件train.sh,其內容如下,其中,2>&1   | tee examples/mnist/mnist_train_log.log 是log日誌文件的保存目錄。 #!/

原创 深度學習中momentum的作用

       訓練網絡時,通常先對網絡的初始權值按照某種分佈進行初始化,如:高斯分佈。初始化權值操作對最終網絡的性能影響比較 大,合適的網絡初始權值能夠使得損失函數在訓練過程中的收斂速度更快,從而獲得更好的優化結果。但是按照某類分佈隨機初

原创 caffe數據層

       數據經過數據層進入 caffe 網絡:數據層處於網絡的最底層, 數據可以從高效率的數據庫中讀取(如: LevelDB, LMDB), 可以直接從內存中讀取, 若對讀寫效率要求不高也可以從硬盤上的 HDFT 文件或者普通的圖

原创 caffe中參數設置的解析

lenet_solver.prototxt: net: "examples/mnist/lenet_train_test.prototxt" test_iter: 100 test_interval: 500 base_lr: 0.01

原创 Maximum Product Subarray

Find the contiguous subarray within an array (containing at least one number) which has the largest product. For ex

原创 Triangle

Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the ro

原创 Word Break

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

原创 基於深度學習的目標檢測方法:R-CNN

R-CNN 目標檢測方面比較全面的資料:https://handong1587.github.io/deep_learning/2015/10/09/object-detection.html 論文:Rich feature hiera

原创 深度學習中Dropout優化的原理分析

本文主要參考博文: 1. http://www.aiuxian.com/article/p-1870737.html 2. http://shuokay.com/2016/06/14/dropout/ 引言 在機器學習的一些模型中,

原创 基於深度學習的目標檢測算法:Faster R-CNN

問題引入:         R-CNN、SPP net、Fast R-CNN等目標檢測算法,它們proposals都是事先通過selecetive search方法得到。然而,這一過程將耗費大量的時間,從而影響目標檢測系統的實時性。Fas

原创 Find Peak Element

A peak element is an element that is greater than its neighbors. Given an input array where num[i] ≠ num[i+1], fin

原创 caffe提取特徵

利用caffe提取特徵,主要有兩種方法: 方法1:利用命令行的方式,可以參考:http://caffe.berkeleyvision.org/gathered/examples/feature_extraction.html,這種方式提

原创 基於深度學習的目標檢測方法:SPP-net

SPP-net        論文:Spatial Pyramid Pooling in Deep Convolutional Networks for Visual Recognition        在R-CNN中,要求輸入固

原创 卷積神經網絡與caffe的卷積層、池化層

卷積神經網絡        卷積神經網絡(CNN)是深度學習技術中極具代表的網絡結構之一,在圖像處理領域取得了很大的成功。在國際標準ImageNet數據集上,許多成功的模型都是基於CNN的。CNN相較於傳統的圖像處理算法的優點之一

原创 Repeated DNA Sequences

All DNA is composed of a series of nucleotides abbreviated as A, C, G, and T, for example: "ACGAATTCCG". When studying