首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Matconvnet在攻击parapool时显示错误

Matconvnet在攻击parapool时显示错误
EN

Stack Overflow用户
提问于 2017-06-22 03:17:02
回答 1查看 76关注 0票数 0

我正在尝试使用parapooling在matconvnet中运行mnist示例。我分配了2个gpus,但它在尝试运行cnn_mnist_experiments时显示以下错误:

代码语言:javascript
复制
   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“文件。这里的问题可能是什么?

EN

回答 1

Stack Overflow用户

发布于 2017-06-22 05:10:25

未定义的函数'vl_cudatool‘用于类型为'single’的输入参数。

这意味着您的vl_cudatool函数不在您的路径中

试一试

代码语言:javascript
复制
which vl_cudatool

我不知道vl_cudatool是什么。也许你可以试试MatConvNet的早期版本?

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/44684534

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档