【功能模块】
mindspore-cup:1.1.0
【操作步骤&问题现象】
使用mindspore官方代码仓库的Dockerfile安装里mindspore-cpu:1.1.0环境,在测试demo lenet.py时遇到下面报错:
[ERROR] MD(930,python):2021-01-06-14:12:04.993.067 [mindspore/ccsrc/minddata/dataset/util/status.cc:131] Status] Thread ID 139969967874176 Unexpected error. MnistDataset's num_workers=4, this value is not within the required range of [1, cpu_thread_cnt=1].
RuntimeError: Thread ID 139969967874176 Unexpected error. MnistDataset's num_workers=4, this value is not within the required range of [1, cpu_thread_cnt=1].
Line of code : 429
File : /home/jenkins/agent-working-dir/workspace/Compile_CPU_X86_Ubuntu/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/dataset_node.cc
【截图信息】
【日志信息】(可选,上传日志内容或者附件)
在哪里修改呀?lenet.py里面没有num_workers 这个参数
... 查看全部