Matconvnet показывает ошибку при попытке подключиться к parapool

Я пытаюсь запустить пример mnist в matconvnet, используя parapooling. Я выделил 2 gpus, но он показывает эту ошибку при попытке запустить cnn_mnist_experiment:

   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". В чем может быть проблема здесь?

1 ответ

Неопределенная функция 'vl_cudatool' для входных аргументов типа 'single'.

Это означает, что ваша функция vl_cudatool не в вашем пути

пытаться

which vl_cudatool

Я не знаю, что такое vl_cudatool. Может быть, вы можете попробовать более раннюю версию MatConvNet?

Другие вопросы по тегам