Comments (4)
没找到你说的页面,麻烦发一下链接
from pytorch-doc-zh.
https://pytorch.apachecn.org/#/docs/1.7/20
from pytorch-doc-zh.
请教一下,在加载数据的时候, DataLoader这个的参数num_workers不为0的话报错:
BrokenPipeError: [Errno 32] Broken pipe
提示我需要这么解决:
File "E:\python\Anaconda3\envs\pytorch\lib\multiprocessing\spawn.py", line 136, in _check_not_importing_main
is not going to be frozen to produce an executable.''')
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.
This probably means that you are not using fork to start your
child processes and you have forgotten to use the proper idiom
in the main module:
if __name__ == '__main__':
freeze_support()
...
The "freeze_support()" line can be omitted if the program
is not going to be frozen to produce an executable.
我不清楚是不是我torch的版本问题,我直接默认了
from pytorch-doc-zh.
翻译已经修改,如果运行都出错了,建议查看英文官方代码,用最新稳定版本测试代码
from pytorch-doc-zh.
Related Issues (20)
- 123
- pip安装后访问全部是404 HOT 3
- C++前端入门代码疑似错误 HOT 1
- 关于版本疑问
- 为什么我pip和下载到本地打开都是404
- 【从零开始的 NLP:使用字符级 RNN 分类名称】实例代码错误 HOT 1
- 1
- 代码出错 HOT 1
- 如何下载到本地 HOT 1
- TorchScript 中的动态并行性 模块缺少相应代码 HOT 1
- 有更新计划吗?我发现介绍页面是多个版本前的。 HOT 1
- v1.7 可选:数据并行 404NOT FOUND HOT 1
- 使用 PyTorch C++ 前端 章节中翻译问题 HOT 1
- 翻译错误,@ 应该是矩阵乘法而不是点积 HOT 1
- 请问一下,我也用了docsify,然后借鉴了贵方的风格,但是我的搜索框不知道为什么不好用,无法搜索下层内容。 HOT 2
- matplotlib_imshow辅助函数不能显示3通道图片 HOT 2
- 翻译勘误:tips HOT 1
- The python compiler in the anaconda virtual environment cannot be found in pycharm HOT 1
- 页面系统资源占用异常,导致标签页崩溃 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytorch-doc-zh.