Git Product home page Git Product logo

Comments (9)

Georay7 avatar Georay7 commented on May 25, 2024

你试试把网络节点数改到1024还会出现这种情况的

from pytorch-a3c.

wangyouzhuo avatar wangyouzhuo commented on May 25, 2024

你试试把网络节点数改到1024还会出现这种情况的
有解吗 ?我试了,基本上只要节点数超过200就无法forward。而且我找到的其他pytorch-a3c的demo中也存在这个问题,不仅是Linear,conv也会这样。

from pytorch-a3c.

Georay7 avatar Georay7 commented on May 25, 2024

换到win下运行就OK

from pytorch-a3c.

wangyouzhuo avatar wangyouzhuo commented on May 25, 2024

换到win下运行就OK
这都可以

from pytorch-a3c.

KaiKangSDU avatar KaiKangSDU commented on May 25, 2024

周老师你好,我想请问一下这个loss函数的定义可以在哪些参考资料上找到呀?有更深一步的解释吗?谢谢

from pytorch-a3c.

Georay7 avatar Georay7 commented on May 25, 2024

换到win下运行就OK
这都可以
查一下共享内存 /dev/shm 的大小,默认是64M,应该是这里出了问题,可以改大一点尝试下

from pytorch-a3c.

liuxiaotong15 avatar liuxiaotong15 commented on May 25, 2024

我的是 163 这个 magic number,164就卡住了
增大 /dev/shm 至 512 M 还是不行啊?

from pytorch-a3c.

liuxiaotong15 avatar liuxiaotong15 commented on May 25, 2024

linux 上需要加上这句:
if __name__ == "__main__": mp.set_start_method('forkserver')

from pytorch-a3c.

MorvanZhou avatar MorvanZhou commented on May 25, 2024

应该是不同系统导致的多进程方法不一。参考@liuxiaotong15 的方式。

linux 上需要加上这句:
if __name__ == "__main__": mp.set_start_method('forkserver')

from pytorch-a3c.

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.