Giter VIP home page Giter VIP logo

Comments (3)

zienn avatar zienn commented on July 20, 2024 1

我之前在vscode里执行有这个问题,我又用命令行执行,就能正常运行了。

from parl.

zenghsh3 avatar zenghsh3 commented on July 20, 2024

你好,请问是按照文档说明运行的吗?

  1. pip install parl
  2. 启动xparl:xparl start --port 8010 --cpu_num 2 (如果是启动2个actor)
  3. 下载PARL仓库到本地
  4. 进入PARL/examples/IMPALA/目录,修改impala_config.py中actor数量,然后执行python train.py

看错误提示是运行train.py时,没有把本地atari_model.py发送到job运行环境里,但我们测试都是没出现过这个问题的。(或者你确认下train.py同级目录里是否有atari_model.py文件)

from parl.

TomorrowIsAnOtherDay avatar TomorrowIsAnOtherDay commented on July 20, 2024

@Termset 这个是编译器的工作目录和代码所在目录不一致的问题,导致这个问题在于PARL的设计是针对多机并行设计的,需要把当前工作目录的代码分发到不同机器上(在单机上也用同样的逻辑)。


@zenghsh3 越来越多的人使用vscode这种编译器了,我们的代码确实得要考虑下兼容vscode下的运行才行。下周一起讨论下:)

from parl.

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.