使用octave執行DeepLearnToolbox

std1984發表於2014-08-21
環境: Ubuntu 12.04, octave 3.8.2

DeepLearnToolbox是matlab/octave的深度學習工具箱,包括Deep Belief Nets, Stacked Autoencoders, Convolutional Neural Nets, Convolutional Autoencoders and vanilla Neural Nets。

下面執行下里面的測試程式:

1. 下載DeepLearnToolbox
   git clone 

2. 啟動Octave

3. 安裝DeepLearnToolbox
  octave:1> 
addpath(genpath('DeepLearnToolbox'));

4. 將目錄./DeepLearnToolbox/tests/test_example_SAE.m的內容複製到octave的命令列內,最後一行增加"end;"

5. 執行剛才定義的函式
   octave:8> test_example_SAE;

6. 執行結果出現繪製的圖片和執行結果
octave:11> test_example_SAE
warning: load: file found in load path
Training AE 1/1
epoch 1/1. Took 21.469 seconds. Mini-batch mean squared error on training set is 10.61; Full-batch train err = 11.049844
epoch 1/1. Took 8.4329 seconds. Mini-batch mean squared error on training set is 0.2197; Full-batch train err = 0.094171


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/16582684/viewspace-1255317/,如需轉載,請註明出處,否則將追究法律責任。

相關文章