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”文件。这里可能是什么问题?
我试过了,但显示'找不到'。我甚至在matconvnet的github存储库中查看了这个函数,但它不能用作.m文件。 – tdr
@tdr我不知道vl_cudatool是什么。也许你可以尝试一些较早版本的MatConvNet? – DataHungry