Comments (6)
- server/client:这个主要是为了加速训练数据的收集,采用了分布式训练的方法。server主要使用GPU负责模型的训练和预测(预测主要是接受client发过来的observation,返回模型预测的action);而client主要是用来运行仿真环境(Simulator),例如同时在128个CPU上跑128个client,它们会分别和server进行交互,并行地收集训练数据。
- target速度在client这边主要用来计算reward,另外client返回给server的observation、info字段也会包含target速度相关信息。
from parl.
- server/client:这个主要是为了加速训练数据的收集,采用了分布式训练的方法。server主要使用GPU负责模型的训练和预测(预测主要是接受client发过来的observation,返回模型预测的action);而client主要是用来运行仿真环境(Simulator),例如同时在128个CPU上跑128个client,它们会分别和server进行交互,并行地收集训练数据。
- target速度在client这边主要用来计算reward,另外client返回给server的observation、info字段也会包含target速度相关信息。
请问具体实现时候的意思是:
python simulator_server.py --port [PORT] --ensemble_num 1 这部分代码在server端电脑运行
python simulator_client.py --port [PORT] --ip [SERVER_IP] --reward_type RunFastest 这部分代码在client端电脑运行
然后,port随便用一个没被占用的,ip用server_ip的吗?
from parl.
对的,ip是指server端电脑的ip地址,端口是server端电脑使用的一个没占用的port(server和client的port参数应该是一样的)
from parl.
对的,ip是指server端电脑的ip地址,端口是server端电脑使用的一个没占用的port(server和client的port参数应该是一样的)
我看到client中有ip和port的默认值,server中没有port的默认值,这个是出于什么原因?
from parl.
对的,ip是指server端电脑的ip地址,端口是server端电脑使用的一个没占用的port(server和client的port参数应该是一样的)
感谢!🙏如果我只是在一台电脑上训练,没有用到分布式,这里参数应该如何设置呢?
from parl.
一样的,在一台电脑上分别启动server和client,ip设为该台电脑ip即可(但这个任务由于Simulator仿真速度比较慢,单个client收敛速度会很慢)
from parl.
Related Issues (20)
- 救命,安装需要的环境包的时候没有一个包安得上,换了ali的源也一样,ubuntu18.04
- pip安装parl时报错
- 电气研究生跨考控制之我真是小白!!! HOT 1
- import parl时RuntimeError HOT 2
- 询问gym库中OBS对象属性的问题
- 使用python train.py运行tutorials中的代码没有反应
- 渲染图像render=True时,代码报错,图像框一下子闪退 Windows10 HOT 1
- torch的选择问题? HOT 2
- DDPG mujoco error
- It seems `fluid` is absent from paddlepaddle after 2.5, causing issue with backend detection on Windows HOT 1
- Attributerror HOT 6
- pip安装问题 HOT 4
- 分发本地文件如何同步更新呢 HOT 1
- Remaining issues of CI HOT 1
- pettingzoo.utils.deprecated_module.DeprecatedEnv: simple_speaker_listener_v3 is now deprecated, use simple_speaker_listener_v4 instead
- WRN No deep learning framework was found, but it's ok for parallel computation. HOT 1
- ValueError: optimizer got an empty parameter list HOT 1
- AttributeError: module 'parl' has no attribute 'Model' HOT 1
- MPC HOT 1
- IMPALA for continous action domains
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 parl.