我正在尝试使用parapooling在matconvnet中运行mnist示例。我分配了2个gpus,但它在尝试运行cnn_mnist_experiments时显示以下错误:
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“文件。这里的问题可能是什么?
发布于 2017-06-22 05:10:25
未定义的函数'vl_cudatool‘用于类型为'single’的输入参数。
这意味着您的vl_cudatool函数不在您的路径中
试一试
which vl_cudatool我不知道vl_cudatool是什么。也许你可以试试MatConvNet的早期版本?
https://stackoverflow.com/questions/44684534
复制相似问题