Giter Site home page Giter Site logo

Comments (4)

jiangzhonglian avatar jiangzhonglian commented on September 7, 2024

没找到你说的页面,麻烦发一下链接

from pytorch-doc-zh.

zhanghai-hub avatar zhanghai-hub commented on September 7, 2024

https://pytorch.apachecn.org/#/docs/1.7/20

from pytorch-doc-zh.

zhanghai-hub avatar zhanghai-hub commented on September 7, 2024

请教一下,在加载数据的时候, 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.

jiangzhonglian avatar jiangzhonglian commented on September 7, 2024

翻译已经修改,如果运行都出错了,建议查看英文官方代码,用最新稳定版本测试代码

from pytorch-doc-zh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.