当前位置:网站首页>【MindSpore1.2.0-rc1产品】num_workers问题
【MindSpore1.2.0-rc1产品】num_workers问题
2022-07-30 19:04:00 【小乐快乐】
问题描述:
【功能模块】
mindspore.train
【操作步骤&问题现象】
1、进行手写数字识别代码运行时,训练过程中代码出现错误
请问如何设置num_workers
【截图信息】
【日志信息】(可选,上传日志内容或者附件)
解决方案:
查看源码后,发现了一个函数,加入下面这个语句之后代码能跑通了
mindspore.dataset.config.set_num_parallel_workers(1)
边栏推荐
猜你喜欢
kotlin的by lazy
vxe-table实现复选框鼠标拖动选中
NC | 西湖大学陶亮组-TMPRSS2“助攻”病毒感染并介导索氏梭菌出血毒素的宿主入侵...
scrapy基本使用
ctf.show_web5
一文读懂“语言模型”
After 23 years of operation, the former "China's largest e-commerce website" has turned yellow...
Does the satellite phone communicate directly with the satellite or through a ground station?
第十七届“振兴杯”全国青年 职业技能大赛——计算机程序设计员(云计算平台与运维)参赛回顾与总结
自然语言处理nltk
随机推荐
- daily a LeetCode 】 【 191. A number of 1
DM8:单库单实例搭建本地数据守护服务
MySQL data types
攻防世界web-Cat
Scrapy框架介绍
Talking about Contrastive Learning (Contrastive Learning) the first bullet
kotlin by lazy
Range.CopyFromRecordset 方法 (Excel)
The use of terminal split screen tool Terminalx
VBA批量将Excel数据导入Access数据库
requet.getHeader("token") is null
The large-scale application of artificial intelligence AI products in industrial-grade mature shipping ports of CIMC World Lianda will create a new generation of high-efficiency smart ports and innova
VBA batch import Excel data into Access database
Tensorflow2.0 confusion matrix does not match printing accuracy
golang日志库zerolog使用记录
Meta元宇宙部门第二季度亏损28亿!仍要继续押注?元宇宙发展尚未看到出路!
架构师如何成长
【剑指 Offe】剑指 Offer 17. 打印从1到最大的n位数
Recommendation | People who are kind to you, don't repay them by inviting them to eat
Scala学习:类和对象