2017-06-21 38 views
0

我正在嘗試使用parapooling在matconvnet中運行mnist示例。我已撥出2個GPU,但它表明這個錯誤試圖運行cnn_mnist_experiments:Matconvnet在嘗試進行旁路時顯示錯誤

Error using cnn_train>(spmd) (line 157) 
Error detected on workers 1 2. 

Error in cnn_train (line 157) 
    spmd 

Error in cnn_mnist (line 55) 
[net, info] = trainfn(net, imdb, getBatch(opts), ... 

Error in cnn_mnist_experiments (line 3) 
[net_bn, info_bn] = cnn_mnist(... 

Caused by: 
    Error using ParameterServer/startWithMMap (line 170) 
    An UndefinedFunction error was thrown on the workers for 'vl_cudatool'. This may be because the 
    file containing 'vl_cudatool' is not accessible on the workers. Specify the required files for 
    this parallel pool using the command: addAttachedFiles(pool, ...). See the documentation for 
    parpool for more details. 
     Undefined function 'vl_cudatool' for input arguments of type 'single'. 
    Error using ParameterServer/startWithMMap (line 170) 
    An UndefinedFunction error was thrown on the workers for 'vl_cudatool'. This may be because the 
    file containing 'vl_cudatool' is not accessible on the workers. Specify the required files for 
    this parallel pool using the command: addAttachedFiles(pool, ...). See the documentation for 
    parpool for more details. 
     Undefined function 'vl_cudatool' for input arguments of type 'single'. 

顯然,工人無法獲得訪問「vl_cudatool」文件。這裏可能是什麼問題?

回答

0

未定義的函數'vl_cudatool'用於'single'類型的輸入參數。

這意味着你的vl_cudatool功能是不是在你的路徑

嘗試

which vl_cudatool 

我不知道vl_cudatool是什麼。也許你可以嘗試一些較早版本的MatConvNet?

+0

我試過了,但顯示'找不到'。我甚至在matconvnet的github存儲庫中查看了這個函數,但它不能用作.m文件。 – tdr

+0

@tdr我不知道vl_cudatool是什麼。也許你可以嘗試一些較早版本的MatConvNet? – DataHungry

相關問題