当前位置:网站首页>【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)
边栏推荐
猜你喜欢

【Swords Offer】Swords Offer 17. Print n digits from 1 to the largest

Swiper rotates pictures and plays background music

Google's AlphaFold claims to have predicted almost every protein structure on Earth

VBA 运行时错误‘-2147217900(80040e14):自动化(Automation)错误

VBA批量将Excel数据导入Access数据库

【每日一道LeetCode】——191. 位1的个数

Scrapy框架介绍

natural language processing nltk

What is the value of biomedical papers? How to translate the papers into Chinese and English?
![[Summary] 1396- 60+ VSCode plugins to create a useful editor](/img/e4/65e55d0e4948c011585b72733d4d19.jpg)
[Summary] 1396- 60+ VSCode plugins to create a useful editor
随机推荐
Deepen school-enterprise cooperation and build an "overpass" for the growth of technical and skilled talents
Two-point answer naked question (plus a little pigeonhole principle)
运营 23 年,昔日“国内第一大电商网站”黄了...
OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.解决方法
VBA 运行时错误‘-2147217900(80040e14):自动化(Automation)错误
C# wpf 无边框窗口添加阴影效果
6 yuan per catty, why do Japanese companies come to China to collect cigarette butts?
MYSQL(基本篇)——一篇文章带你走进MYSQL的奇妙世界
跨进程启动后台服务
【科普】无线电波怎样传送信息?
【总结】1396- 60+个 VSCode 插件,打造好用的编辑器
The Meta metaverse division lost 2.8 billion in the second quarter!Still want to keep betting?Metaverse development has yet to see a way out!
SwiftUI iOS 精品开源项目之 完整烘焙食品菜谱App基于SQLite(教程含源码)
第14章 类型信息
Mysql执行原理剖析
requet.getHeader("token") is null
第一次进入小程序判断
二分答案裸题(加一点鸽巢原理)
Swiper轮播图片并播放背景音乐
ctf.show_web5