在matlab中使用matconvnet进行多线程、多GPU训练任务时,若出现:
1) warning: The SPMD infrastructure has been initializing for xx seconds. This may indicate a problem in initialization. You might need to restart the pool.
或者
2) The current parallel pool does not support SPMD
这是由于matconvnet中有两个文件:labindex.m 和 numlabs.m 与 matlab 中多线程相关函数重名,因此,将 matconvnet 中这两个文件删除即可。